camera_dolly_crane_rigs - hide widgets

D4157 by @amir.shehata
This commit is contained in:
Campbell Barton 2019-01-03 14:54:14 +11:00
parent 521ce78a72
commit 4536781ef1
1 changed files with 3 additions and 0 deletions

View File

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