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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-06 12:35:19 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-05-06 12:35:19 +0400
commit04d2a8badc165e91e9db664962dac3794ee5fc0e (patch)
tree1769ab1219bd8920575c4c13509228512b719765 /source/blender
parentee87af1e16f4aef7a8427b55100f545168608c9d (diff)
Fix for bug #10734: mirror modifier crash with no axis
enabled for mirroring around.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/modifier.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c
index 0cd6035b9dc..ca95d9edc06 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -1506,7 +1506,8 @@ static DerivedMesh *mirrorModifier_applyModifier(
result = mirrorModifier__doMirror(mmd, ob, derivedData, 0);
- CDDM_calc_normals(result);
+ if(result != derivedData)
+ CDDM_calc_normals(result);
return result;
}