Outliner draw: Fix using wrong flag to tag object on visibility change
Note: This doesn't fix any bug we know of, but it is the correct flag to tag in this case.
This commit is contained in:
@@ -333,7 +333,7 @@ static void hidebutton_base_flag_cb(bContext *C, void *poin, void *poin2)
|
||||
|
||||
if (depsgraph_changed) {
|
||||
BKE_main_collection_sync_remap(bmain);
|
||||
DEG_id_tag_update(&ob->id, LIB_TAG_COPIED_ON_WRITE);
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_COPY_ON_WRITE);
|
||||
DEG_relations_tag_update(bmain);
|
||||
WM_main_add_notifier(NC_OBJECT | ND_DRAW, &ob->id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user