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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-06-28 18:02:11 +0400
committerTon Roosendaal <ton@blender.org>2006-06-28 18:02:11 +0400
commit3d34bec6e48b849a84ebbb6403d515797e7748ae (patch)
treeaf080b07f2c73fb50fa425d8444436d4bc64389a /source
parent5b4fa8a93e6f7fbfb590892764aa92e2e4533d76 (diff)
Bugfix #4520
Boolean modifier allowed to be added after subsurf, but it doesn't support that. Added "eModifierTypeFlag_RequiresOriginalData" flag to prevent this from happening in UI.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/modifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/modifier.c b/source/blender/blenkernel/intern/modifier.c
index 744ea0153b9..fb872086700 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -1876,7 +1876,7 @@ ModifierTypeInfo *modifierType_getInfo(ModifierType type)
mti = INIT_TYPE(Boolean);
mti->type = eModifierTypeType_Nonconstructive;
- mti->flags = eModifierTypeFlag_AcceptsMesh;
+ mti->flags = eModifierTypeFlag_AcceptsMesh | eModifierTypeFlag_RequiresOriginalData;
mti->copyData = booleanModifier_copyData;
mti->isDisabled = booleanModifier_isDisabled;
mti->applyModifier = booleanModifier_applyModifier;