diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-08-06 07:45:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-08-06 07:45:11 +0400 |
commit | 34aa68f29935e2d5b92f339eb732385cd67535f9 (patch) | |
tree | 18c5c968a072a52d9013e56b007131f1aa0aa704 /source/blender/modifiers/intern | |
parent | 0398ef6ae03afbcad3617dd631839494cd6831ee (diff) |
fix for using uninitialized boolean vars for mask select more/less
Diffstat (limited to 'source/blender/modifiers/intern')
-rw-r--r-- | source/blender/modifiers/intern/MOD_decimate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_decimate.c b/source/blender/modifiers/intern/MOD_decimate.c index 6c75f1d4be9..9fdb40e71dc 100644 --- a/source/blender/modifiers/intern/MOD_decimate.c +++ b/source/blender/modifiers/intern/MOD_decimate.c @@ -127,6 +127,8 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, } calc_face_normal = true; break; + default: + return dm; } if (dmd->face_count <= 3) { |