Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/object.c
| Context not available. | |||||
| mti = modifierType_getInfo(modifier_type); | mti = modifierType_getInfo(modifier_type); | ||||
| if (!(ob->type == OB_LATTICE && (mti->flags & eModifierTypeFlag_AcceptsLattice))) { | |||||
| return false; | |||||
| } | |||||
| if (!((mti->flags & eModifierTypeFlag_AcceptsCVs) || | if (!((mti->flags & eModifierTypeFlag_AcceptsCVs) || | ||||
| (ob->type == OB_MESH && (mti->flags & eModifierTypeFlag_AcceptsMesh)))) | (ob->type == OB_MESH && (mti->flags & eModifierTypeFlag_AcceptsMesh)))) | ||||
| { | { | ||||
| Context not available. | |||||