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>2012-07-28 04:08:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-28 04:08:26 +0400
commit94576f20f4b792c629bf17205ac66b8de167d755 (patch)
treec81a0eb803d4b1ac5f966aeb410da8a65bb81d7d /source/blender/modifiers/intern/MOD_boolean.c
parent2cd0b3f06470f2cb972dc626b5346f56abd67096 (diff)
fix own error in recent commit - possible uninitialized value.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_boolean.c')
-rw-r--r--source/blender/modifiers/intern/MOD_boolean.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_boolean.c b/source/blender/modifiers/intern/MOD_boolean.c
index 8715d0c2b1d..fb9788fb278 100644
--- a/source/blender/modifiers/intern/MOD_boolean.c
+++ b/source/blender/modifiers/intern/MOD_boolean.c
@@ -137,6 +137,9 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
if (bmd->object != ob) {
dm = mesh_get_derived_final(md->scene, bmd->object, CD_MASK_MESH);
}
+ else {
+ dm = NULL;
+ }
if (dm) {
DerivedMesh *result;