diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-31 21:46:18 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-05-31 21:51:45 +0300 |
commit | 6f9518f2438ecca411cee85303f255cea853545b (patch) | |
tree | d427f00f4a427cfe08cff108ee6472539a745cbd /source/blender/editors/space_outliner/outliner_intern.h | |
parent | 5902a9cb63c5478daa33eb8d2fa67e33a35d4926 (diff) |
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).
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_intern.h')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_intern.h | 8 |
1 files changed, 8 insertions, 0 deletions
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, |