Curves: cage overlay for sculpt mode #104467

Merged
Jacques Lucke merged 44 commits from JacquesLucke/blender:sculpt-edit-overlay into main 2023-02-14 18:10:24 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 9c792dd7ab - Show all commits

View File

@ -289,7 +289,7 @@ static void curves_sculptmode_enter(bContext *C)
paint_init_pivot(ob, scene);
/* Necessary to change the object mode on the evaluated object. */
DEG_id_tag_update(&ob->id, ID_RECALC_COPY_ON_WRITE);
DEG_id_tag_update(&ob->id, ID_RECALC_COPY_ON_WRITE | ID_RECALC_GEOMETRY);
WM_msg_publish_rna_prop(mbus, &ob->id, ob, Object, mode);
WM_event_add_notifier(C, NC_SCENE | ND_MODE, nullptr);
JacquesLucke marked this conversation as resolved
Review

Not a big deal if you don't know, but isn't ID_RECALC_COPY_ON_WRITE redundant after ID_RECALC_GEOMETRY is added?

Not a big deal if you don't know, but isn't `ID_RECALC_COPY_ON_WRITE` redundant after `ID_RECALC_GEOMETRY` is added?
Review

Seems to work without it now. I'm pretty sure that it was needed at some point. Not sure what changed exactly.

Seems to work without it now. I'm pretty sure that it was needed at some point. Not sure what changed exactly.
}