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

@@ -101,7 +101,8 @@ typedef enum {
eModifierTypeFlag_NoUserAdd = (1 << 8),
/* For modifiers that use CD_PREVIEW_MCOL for preview. */
eModifierTypeFlag_UsesPreview = (1 << 9)
eModifierTypeFlag_UsesPreview = (1 << 9),
eModifierTypeFlag_AcceptsLattice = (1 << 10),
} ModifierTypeFlag;
/* IMPORTANT! Keep ObjectWalkFunc and IDWalkFunc signatures compatible. */