Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-08-06 07:45:11 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-06 07:45:11 +0400
commit34aa68f29935e2d5b92f339eb732385cd67535f9 (patch)
tree18c5c968a072a52d9013e56b007131f1aa0aa704 /source/blender/modifiers/intern/MOD_decimate.c
parent0398ef6ae03afbcad3617dd631839494cd6831ee (diff)
fix for using uninitialized boolean vars for mask select more/less
Diffstat (limited to 'source/blender/modifiers/intern/MOD_decimate.c')
-rw-r--r--source/blender/modifiers/intern/MOD_decimate.c2
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) {