[Bf-blender-cvs] [ca21fc8] fracture_modifier: fix, forgot to activate plastic connection handler in external mode
Martin Felke
noreply at git.blender.org
Mon Feb 8 21:49:50 CET 2016
Commit: ca21fc8b552036325d0d69f73d94de41eabe3dda
Author: Martin Felke
Date: Mon Feb 8 21:49:40 2016 +0100
Branches: fracture_modifier
https://developer.blender.org/rBca21fc8b552036325d0d69f73d94de41eabe3dda
fix, forgot to activate plastic connection handler in external mode
===================================================================
M source/blender/blenkernel/intern/rigidbody.c
===================================================================
diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c
index 4bfc223..ba8ad08 100644
--- a/source/blender/blenkernel/intern/rigidbody.c
+++ b/source/blender/blenkernel/intern/rigidbody.c
@@ -3588,7 +3588,7 @@ static bool do_update_modifier(Scene* scene, Object* ob, RigidBodyWorld *rbw, bo
handle_regular_breaking(fmd, ob, rbw, rbsc, max_con_mass, rebuild);
}
- if (fmd->fracture_mode == MOD_FRACTURE_EXTERNAL && (rbsc->flag & RBC_FLAG_USE_BREAKING) && !rebuild && 0)
+ if (fmd->fracture_mode == MOD_FRACTURE_EXTERNAL && (rbsc->flag & RBC_FLAG_USE_BREAKING) && !rebuild)
{
handle_plastic_breaking(rbsc, rbw, laststeps, lastscale);
}
More information about the Bf-blender-cvs
mailing list