[Bf-blender-cvs] [93bf8fc8e1f] fracture_modifier: now fixing shard order problems directly after loading and jumping to another frame as well
Martin Felke
noreply at git.blender.org
Sat Dec 23 01:25:27 CET 2017
Commit: 93bf8fc8e1f29bbff6476f49eea7aec0a7eecc0d
Author: Martin Felke
Date: Sat Dec 23 01:25:00 2017 +0100
Branches: fracture_modifier
https://developer.blender.org/rB93bf8fc8e1f29bbff6476f49eea7aec0a7eecc0d
now fixing shard order problems directly after loading and jumping to another frame as well
===================================================================
M source/blender/blenkernel/intern/rigidbody.c
===================================================================
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 33ad9727084..f769edc6527 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -2317,7 +2317,7 @@ void BKE_rigidbody_do_simulation(Scene *scene, float ctime)
BKE_ptcache_id_reset(scene, &pid, PTCACHE_RESET_OUTDATED);
}
- BKE_rigidbody_update_ob_array(rbw, false);
+ BKE_rigidbody_update_ob_array(rbw, rbw->pointcache->flag & PTCACHE_BAKED);
}
/* try to read from cache */
More information about the Bf-blender-cvs
mailing list