Fix T47737: Lattice crashes w/ smooth modifier

Add flag for modifiers that support lattice
This commit is contained in:
2016-05-18 22:21:46 +10:00
committed by Campbell Barton
parent cade8e25c6
commit 7a8bd2eaea
15 changed files with 20 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ ModifierTypeInfo modifierType_Curve = {
/* structSize */ sizeof(CurveModifierData),
/* type */ eModifierTypeType_OnlyDeform,
/* flags */ eModifierTypeFlag_AcceptsCVs |
eModifierTypeFlag_AcceptsLattice |
eModifierTypeFlag_SupportsEditmode,
/* copyData */ copyData,