diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-19 15:04:28 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-19 15:04:28 +0400 |
commit | a4078c8c1a39a0ddcbe6378e51fb781dc56d1534 (patch) | |
tree | 40ecf3efa7b07438ef60a8f0458da1bcd4bc85bc /source | |
parent | 1f933446f039ea5e487b6dfdf232c444f5087575 (diff) |
No static vars shall be in mballs now
No need in special hacks for this now :)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 6bcf6b148a3..4c29d6ebaa1 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -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; - if (ob->curve_cache) { BKE_displist_free(&(ob->curve_cache->disp)); } |