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.
This commit is contained in:
parent
7f0dc54f61
commit
5782a80d70
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue