forked from bartvdbraak/blender
Disallow applying modifiers that change mesh topology while multires is active
This commit is contained in:
parent
d11b6949d8
commit
73382364a3
@ -1167,6 +1167,11 @@ static void modifiers_applyModifier(void *obv, void *mdv)
|
||||
}
|
||||
|
||||
if (ob->type==OB_MESH) {
|
||||
if(me->mr && multires_modifier_warning()) {
|
||||
error("Modifier changes topology; cannot apply with multires active");
|
||||
return;
|
||||
}
|
||||
|
||||
sculptmode_pmv_off(me);
|
||||
|
||||
dm = mesh_create_derived_for_modifier(ob, md);
|
||||
|
Loading…
Reference in New Issue
Block a user