Commit: 1ab1d987fa628b1b79272a8eae0a008f53202ce9 Author: Dalai Felinto Date: Tue Apr 23 12:54:19 2019 -0300 Branches: master https://developer.blender.org/rB1ab1d987fa628b1b79272a8eae0a008f53202ce9
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. =================================================================== M source/blender/editors/space_outliner/outliner_draw.c =================================================================== diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 7db556961cc..9dbea3c5b1b 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -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); } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs