From 6f9518f2438ecca411cee85303f255cea853545b Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 31 May 2019 15:46:18 -0300 Subject: Fix T64990: Isolate collection wrong reaction Bringing the same logic we do in the outliner restrict column callback and the menu call. Also removing the "change depsgraph" logic there. Isolate collections should not affect depsgraph relations (if it does it is to be tackled separately anyways). --- source/blender/editors/space_outliner/outliner_intern.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/editors/space_outliner/outliner_intern.h') diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h index 15489c61230..ab9e29a9105 100644 --- a/source/blender/editors/space_outliner/outliner_intern.h +++ b/source/blender/editors/space_outliner/outliner_intern.h @@ -215,6 +215,14 @@ void draw_outliner(const struct bContext *C); TreeElementIcon tree_element_get_icon(TreeStoreElem *tselem, TreeElement *te); +void outliner_collection_isolate_flag(struct Scene *scene, + struct ViewLayer *view_layer, + struct LayerCollection *layer_collection, + struct Collection *collection, + struct PropertyRNA *layer_or_collection_prop, + const char *propname, + const bool value); + /* outliner_select.c -------------------------------------------- */ eOLDrawState tree_element_type_active(struct bContext *C, struct Scene *scene, -- cgit v1.2.3