From ff9b071fbde85af66182236eea1dfa0b4c1e173b Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Sat, 1 Sep 2012 11:30:22 +0000 Subject: [PATCH] Fix #32463, Cycles crashing. The particle system sync_recalc part was checking object data, which can be NULL and doesn't actually say anything about particles, removed. --- intern/cycles/blender/blender_sync.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/cycles/blender/blender_sync.cpp b/intern/cycles/blender/blender_sync.cpp index e8bd2d59115..6d014a91a9c 100644 --- a/intern/cycles/blender/blender_sync.cpp +++ b/intern/cycles/blender/blender_sync.cpp @@ -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);