Sculpt: Make subdivision surface modifier use the On Cage option
This commit is contained in:
parent
b1e59f1a20
commit
d4af8a8d26
|
@ -351,7 +351,10 @@ static void crazyspace_init_verts_and_matrices(const Mesh *mesh,
|
|||
|
||||
static bool crazyspace_modifier_supports_deform_matrices(ModifierData *md)
|
||||
{
|
||||
if (ELEM(md->type, eModifierType_Subsurf, eModifierType_Multires)) {
|
||||
if (md->type == eModifierType_Multires) {
|
||||
return true;
|
||||
}
|
||||
if (md->type == eModifierType_Subsurf && md->mode & eModifierMode_OnCage) {
|
||||
return true;
|
||||
}
|
||||
const ModifierTypeInfo *mti = BKE_modifier_get_info(md->type);
|
||||
|
|
Loading…
Reference in New Issue