Merge branch 'blender-v4.2-release'

This commit is contained in:
Jacques Lucke 2024-06-26 14:01:58 +02:00
commit 89471e8566

@ -3456,7 +3456,6 @@ static int object_convert_exec(bContext *C, wmOperator *op)
}
else {
newob = ob;
DEG_id_tag_update(&ob->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_ANIMATION);
}
/* make new mesh data from the original copy */
@ -3478,6 +3477,10 @@ static int object_convert_exec(bContext *C, wmOperator *op)
BKE_mesh_nomain_to_mesh(new_mesh, ob_data_mesh, newob);
BKE_object_free_modifiers(newob, 0); /* after derivedmesh calls! */
if (!keep_original) {
DEG_id_tag_update(&ob->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY | ID_RECALC_ANIMATION);
}
}
else if (ob->type == OB_FONT) {
ob->flag |= OB_DONE;