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

@@ -417,6 +417,7 @@ ModifierTypeInfo modifierType_Hook = {
/* structSize */ sizeof(HookModifierData),
/* type */ eModifierTypeType_OnlyDeform,
/* flags */ eModifierTypeFlag_AcceptsCVs |
eModifierTypeFlag_AcceptsLattice |
eModifierTypeFlag_SupportsEditmode,
/* copyData */ copyData,
/* deformVerts */ deformVerts,