[Bf-blender-cvs] [73f1c37] fracture_modifier: fix: display glitch when triggering shards due to own error in pointcache

Martin Felke noreply at git.blender.org
Sat Jun 6 15:51:14 CEST 2015


Commit: 73f1c3787176d98f042ba8294afae632b6a8bcff
Author: Martin Felke
Date:   Sat Jun 6 11:19:44 2015 +0200
Branches: fracture_modifier
https://developer.blender.org/rB73f1c3787176d98f042ba8294afae632b6a8bcff

fix: display glitch when triggering shards due to own error in pointcache

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

M	source/blender/blenkernel/intern/pointcache.c

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

diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 5c08901..00278d0 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -1017,8 +1017,7 @@ static int  ptcache_rigidbody_write(int index, void *rb_v, void **data, int cfra
 	ob = rbw->objects[rbw->cache_offset_map[index]];
 	fmd = (FractureModifierData*)modifiers_findByType(ob, eModifierType_Fracture);
 
-	if (rbo && rbo->type == RBO_TYPE_ACTIVE && rbo->physics_object &&
-	    (!(rbo->flag & RBO_FLAG_NEEDS_VALIDATE)))
+	if (rbo && rbo->type == RBO_TYPE_ACTIVE && rbo->physics_object)
 	{
 #ifdef WITH_BULLET
 		RB_body_get_position(rbo->physics_object, rbo->pos);




More information about the Bf-blender-cvs mailing list