Disallow applying modifiers that change mesh topology while multires is active

This commit is contained in:
Nicholas Bishop 2006-12-22 07:42:30 +00:00
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);