From 7a8bd2eaea379bf60b09c110fc9810041359b0e9 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Wed, 18 May 2016 22:21:46 +1000 Subject: Fix T47737: Lattice crashes w/ smooth modifier Add flag for modifiers that support lattice --- source/blender/modifiers/intern/MOD_lattice.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/modifiers/intern/MOD_lattice.c') diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index 0f49ce6cfbf..7d4701e3ef2 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -156,6 +156,7 @@ ModifierTypeInfo modifierType_Lattice = { /* structSize */ sizeof(LatticeModifierData), /* type */ eModifierTypeType_OnlyDeform, /* flags */ eModifierTypeFlag_AcceptsCVs | + eModifierTypeFlag_AcceptsLattice | eModifierTypeFlag_SupportsEditmode, /* copyData */ copyData, /* deformVerts */ deformVerts, -- cgit v1.2.3