[Bf-blender-cvs] [4543512] fracture_modifier: fix for silly brace mistake, which led to crash with fracturing a default cube
Martin Felke
noreply at git.blender.org
Wed Jan 27 20:08:33 CET 2016
Commit: 45435120f31cc1cd7b0682d2305db5b32db9bbb1
Author: Martin Felke
Date: Wed Jan 27 20:08:21 2016 +0100
Branches: fracture_modifier
https://developer.blender.org/rB45435120f31cc1cd7b0682d2305db5b32db9bbb1
fix for silly brace mistake, which led to crash with fracturing a default cube
===================================================================
M source/blender/modifiers/intern/MOD_fracture.c
===================================================================
diff --git a/source/blender/modifiers/intern/MOD_fracture.c b/source/blender/modifiers/intern/MOD_fracture.c
index 422d9e5..a5f882f 100644
--- a/source/blender/modifiers/intern/MOD_fracture.c
+++ b/source/blender/modifiers/intern/MOD_fracture.c
@@ -3813,7 +3813,7 @@ static void do_modifier(FractureModifierData *fmd, Object *ob, DerivedMesh *dm)
}
if (fmd->frac_mesh != NULL) {
- if (fmd->fracture_mode == MOD_FRACTURE_DYNAMIC) {
+ if (fmd->fracture_mode == MOD_FRACTURE_DYNAMIC)
{
/* in dynamic case, we add a sequence step here and move the "current" pointers*/
if (!fmd->dm) {
@@ -3902,7 +3902,6 @@ static void do_modifier(FractureModifierData *fmd, Object *ob, DerivedMesh *dm)
fracture_per_setting(fmd, ob, dm, fmd->active_setting);
}
#endif
- }
}
else
{
More information about the Bf-blender-cvs
mailing list