Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Inch <mythologylover75@gmail.com>2020-03-13 02:38:56 +0300
committerRyan Inch <mythologylover75@gmail.com>2020-03-13 02:40:41 +0300
commit1d722cb79a597ab1c7da55071a8bb08ca6874de4 (patch)
tree54277e41019a08f1bf4e11596813c2c3325d190f /object_collection_manager/internals.py
parent1ae12e6f5d3c131b0b3e390a7c5e8cdb992d21e5 (diff)
Collection Manager: Add isolate tree feature. Task: T69577
Switches the current hotkey for expanding/collapsing all sublevels from shift-click to ctrl-click. Isolate tree is set to shift-click.
Diffstat (limited to 'object_collection_manager/internals.py')
-rw-r--r--object_collection_manager/internals.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/object_collection_manager/internals.py b/object_collection_manager/internals.py
index 5267b1c6..e7f63884 100644
--- a/object_collection_manager/internals.py
+++ b/object_collection_manager/internals.py
@@ -80,7 +80,10 @@ def update_collection_tree(context):
"ptr": layer_collection
}
- get_all_collections(context, init_laycol_list, master_laycol, collection_tree, visible=True)
+ get_all_collections(context, init_laycol_list, master_laycol, master_laycol["children"], visible=True)
+
+ for laycol in master_laycol["children"]:
+ collection_tree.append(laycol)
def get_all_collections(context, collections, parent, tree, level=0, visible=False):