Fix #32463, Cycles crashing. The particle system sync_recalc part was checking object...
authorLukas Toenne <lukas.toenne@googlemail.com>
Sat, 1 Sep 2012 11:30:22 +0000 (11:30 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Sat, 1 Sep 2012 11:30:22 +0000 (11:30 +0000)
intern/cycles/blender/blender_sync.cpp

index e8bd2d59115f8e1cd52ecfc1827ac73ecd9c1c2a..6d014a91a9ceb76430d5e9cc3440b719ba40af6c 100644 (file)
@@ -97,7 +97,7 @@ bool BlenderSync::sync_recalc()
                                light_map.set_recalc(*b_ob);
                }
                
-               if(b_ob->is_updated_data() || b_ob->data().is_updated()) {
+               if(b_ob->is_updated_data()) {
                        BL::Object::particle_systems_iterator b_psys;
                        for (b_ob->particle_systems.begin(b_psys); b_psys != b_ob->particle_systems.end(); ++b_psys)
                                particle_system_map.set_recalc(*b_ob);