[Bf-extensions-cvs] [06a68c0c] master: ant_landscape: close panels by default: T70017

meta-androcto noreply at git.blender.org
Tue Sep 24 02:54:18 CEST 2019


Commit: 06a68c0c87209d9c2ae5bcf57f965dce7bbcb054
Author: meta-androcto
Date:   Tue Sep 24 10:54:00 2019 +1000
Branches: master
https://developer.blender.org/rBA06a68c0c87209d9c2ae5bcf57f965dce7bbcb054

ant_landscape: close panels by default: T70017

===================================================================

M	ant_landscape/__init__.py

===================================================================

diff --git a/ant_landscape/__init__.py b/ant_landscape/__init__.py
index b5abc941..789f0a37 100644
--- a/ant_landscape/__init__.py
+++ b/ant_landscape/__init__.py
@@ -84,6 +84,7 @@ class AntLandscapeAddPanel(bpy.types.Panel):
     bl_space_type = "VIEW_3D"
     bl_region_type = "UI"
     bl_context = "objectmode"
+    bl_options = {'DEFAULT_CLOSED'}
 
     def draw(self, context):
         col = self.layout.column()



More information about the Bf-extensions-cvs mailing list