[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57519] branches/soc-2013-depsgraph_mt/ source/blender/blenkernel/intern/displist.c: There' s no more global and static variables in the mballs code,
Sergey Sharybin
sergey.vfx at gmail.com
Mon Jun 17 15:13:47 CEST 2013
Revision: 57519
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57519
Author: nazgul
Date: 2013-06-17 13:13:46 +0000 (Mon, 17 Jun 2013)
Log Message:
-----------
There's no more global and static variables in the mballs code,
so special case in BKE_displist_make_mball is not needed anymore.
The same could be done in trunk as well, but rather run some
more intensive tests first.
Modified Paths:
--------------
branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/displist.c
Modified: branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/displist.c
===================================================================
--- branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/displist.c 2013-06-17 11:26:21 UTC (rev 57518)
+++ branches/soc-2013-depsgraph_mt/source/blender/blenkernel/intern/displist.c 2013-06-17 13:13:46 UTC (rev 57519)
@@ -712,12 +712,6 @@
if (!ob || ob->type != OB_MBALL)
return;
- /* XXX: mball stuff uses plenty of global variables
- * while this is unchanged updating during render is unsafe
- */
- if (G.is_rendering)
- return;
-
BKE_displist_free(&(ob->disp));
if (ob->type == OB_MBALL) {
More information about the Bf-blender-cvs
mailing list