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:
authorCampbell Barton <ideasman42@gmail.com>2019-01-03 06:54:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-03 06:54:14 +0300
commit4536781ef119c64330d1adbe1322fb48a8a9dbf1 (patch)
treedb69c9f11a187fe6d1e14f46419b856457337871
parent521ce78a7293a1d0d91969973d5c758a9f8c9b93 (diff)
camera_dolly_crane_rigs - hide widgets
D4157 by @amir.shehata
-rw-r--r--camera_dolly_crane_rigs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/camera_dolly_crane_rigs.py b/camera_dolly_crane_rigs.py
index d0570afe..13025675 100644
--- a/camera_dolly_crane_rigs.py
+++ b/camera_dolly_crane_rigs.py
@@ -57,6 +57,9 @@ def create_widget(self, name):
c.objects.link(obj)
else:
c = bpy.data.collections.new(collection_name)
+ c.hide_viewport = True
+ c.hide_render = True
+
# link the collection
scene.collection.children.link(c)
c.objects.link(obj)