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:
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):