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:
authorTon Roosendaal <ton@blender.org>2006-11-09 11:48:24 +0300
committerTon Roosendaal <ton@blender.org>2006-11-09 11:48:24 +0300
commit5782a80d70dcaa43326e65047c5a6e604e7fbd9f (patch)
tree33d7cee3539f2de08058ef44d5bda45ea2f49997 /source/blender/blenkernel
parent7f0dc54f61cc5b443e2aba09d0d8c06b0c6a718c (diff)
Bugfix #5044 revisited
Displace modifier crashed when used on Curve, the fix removed the flag that accepts curve objects, but apparently then a flag to accept meshes has to be added. (eModifierTypeFlag_AcceptsMesh). Thanks Michael Crawford for notifying this fix.
Diffstat (limited to 'source/blender/blenkernel')
-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 f4edda1e823..818e388f742 100644
--- a/source/blender/blenkernel/intern/modifier.c
+++ b/source/blender/blenkernel/intern/modifier.c
@@ -3502,7 +3502,7 @@ ModifierTypeInfo *modifierType_getInfo(ModifierType type)
mti->applyModifierEM = edgesplitModifier_applyModifierEM;
mti = INIT_TYPE(Displace);
- mti->type = eModifierTypeType_OnlyDeform;
+ mti->type = eModifierTypeFlag_AcceptsMesh|eModifierTypeType_OnlyDeform;
mti->flags = eModifierTypeFlag_SupportsEditmode;
mti->initData = displaceModifier_initData;
mti->copyData = displaceModifier_copyData;