- bug fix, apply modifier removed modifier even on certain

errors
 - change drawimagespace to check and update object data if
   it needs a recalc. this fixes errors with a recalc being
   flushed but not actually being done before spaceimage
   redraws. Updates typically actually happen in draw loop,
   which is not a great design...
 - make shared vertexcol didn't flush update
This commit is contained in:
2005-08-20 07:42:25 +00:00
parent a30740c196
commit 1ac10f50f4
4 changed files with 9 additions and 16 deletions

View File

@@ -762,10 +762,12 @@ static void modifiers_applyModifier(void *obv, void *mdv)
return;
}
BLI_remlink(&ob->modifiers, md);
modifier_free(md);
if (converted) {
BLI_remlink(&ob->modifiers, md);
modifier_free(md);
BIF_undo_push("Apply modifier");
BIF_undo_push("Apply modifier");
}
}
static void modifiers_copyModifier(void *ob_v, void *md_v)