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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2018-07-31 13:26:06 +0300
committerPablo Vazquez <venomgfx@gmail.com>2018-07-31 13:26:15 +0300
commitbf72d510d46a5547c739fb515fc9c68a8ad4b113 (patch)
treefd78e2c4d98e837040573599338cbb4d9da95c5a /release/scripts/startup
parentf06884b18ab5b619975689a0670f8f0f14f9c318 (diff)
UI: Collapse Annotations panel by default
Diffstat (limited to 'release/scripts/startup')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 252f87d369f..7c3e7364ed1 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -699,6 +699,7 @@ class GPENCIL_UL_annotation_layer(UIList):
class GreasePencilDataPanel:
bl_label = "Annotations"
bl_region_type = 'UI'
+ bl_options = {'DEFAULT_CLOSED'}
@classmethod
def poll(cls, context):
@@ -832,7 +833,6 @@ class GreasePencilToolsPanel:
# For use in "2D" Editors without their own toolbar
# subclass must set
# bl_space_type = 'IMAGE_EDITOR'
- # bl_options = {'DEFAULT_CLOSED'}
bl_label = "Grease Pencil Settings"
bl_region_type = 'UI'
bl_options = {'DEFAULT_CLOSED'}