[Bf-blender-cvs] [c03a1606a6d] temp-fracture-modifier-2.8: probably it is not necessary to clear the cache on every rna property change

Martin Felke noreply at git.blender.org
Wed Dec 12 23:50:24 CET 2018


Commit: c03a1606a6d41704767f05e0c34bbe1038fcaf79
Author: Martin Felke
Date:   Wed Dec 12 23:50:06 2018 +0100
Branches: temp-fracture-modifier-2.8
https://developer.blender.org/rBc03a1606a6d41704767f05e0c34bbe1038fcaf79

probably it is not necessary to clear the cache on every rna property change

like changing autohide / automerge parameters which are considered live postprocess steps caused the mesh to disappear when not on cache startframe.

===================================================================

M	source/blender/makesrna/intern/rna_fracture.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_fracture.c b/source/blender/makesrna/intern/rna_fracture.c
index 7046e63d762..27f3b5c366d 100644
--- a/source/blender/makesrna/intern/rna_fracture.c
+++ b/source/blender/makesrna/intern/rna_fracture.c
@@ -563,7 +563,7 @@ static void rna_FractureModifier_use_dupli_set(PointerRNA* ptr, int value)
 
 static void rna_Modifier_update(Main *UNUSED(bmain), Scene *scene, PointerRNA *ptr)
 {
-	BKE_rigidbody_cache_reset(scene);
+	//BKE_rigidbody_cache_reset(scene);
 
 	DEG_id_tag_update(ptr->id.data, ID_RECALC_GEOMETRY | ID_RECALC_TRANSFORM | ID_RECALC_ANIMATION |
 									ID_RECALC_COPY_ON_WRITE | ID_RECALC_BASE_FLAGS);



More information about the Bf-blender-cvs mailing list