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-02-11 17:07:26 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-11 17:07:26 +0400
commit30a18589e20206cee8ec5d7e54fcdce82feb09a7 (patch)
treead36623b8bf863bbaf40f5b71a178a37bbe4c669 /source/blender/editors/metaball
parent0e0ea1f3052d006a299214dce26f56543c06c702 (diff)
fix [#34200] Metaball Tessellate error
Diffstat (limited to 'source/blender/editors/metaball')
-rw-r--r--source/blender/editors/metaball/mball_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c
index 477a6dd815e..6c056df5a38 100644
--- a/source/blender/editors/metaball/mball_edit.c
+++ b/source/blender/editors/metaball/mball_edit.c
@@ -602,7 +602,7 @@ void ED_mball_transform(MetaBall *mb, float *mat)
me->rad *= scale;
/* hrmf, probably elems shouldn't be
* treating scale differently - campbell */
- if (ELEM3(me->type, MB_CUBE, MB_PLANE, MB_TUBE)) {
+ if (!MB_TYPE_SIZE_SQUARED(me->type)) {
mul_v3_fl(&me->expx, scale);
}
else {