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.
This commit is contained in:
Sergey Sharybin
2013-06-17 13:13:46 +00:00
parent 1403048ca0
commit a3ca67ef80

View File

@@ -712,12 +712,6 @@ void BKE_displist_make_mball(Scene *scene, Object *ob)
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) {