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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-26 05:05:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-26 05:05:37 +0400
commite7c4a0d53b950e5be77528efad907def59d18a8f (patch)
treed9976137e57ea5f25e1e7f87eb951888241288c0 /release/scripts/modules/rna_prop_ui.py
parentda2a2005c7542b364057824c459ae0bc5d0af289 (diff)
rna api - replace panel properties bl_default_closed and bl_show_header with bl_options which has 2 flags: 'DEFAULT_CLOSED' and 'HIDE_HEADER'.
this matches operators which also uses bl_options like this
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r--release/scripts/modules/rna_prop_ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index 63762855737..91fc4e9092d 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -130,7 +130,7 @@ class PropertyPanel():
and the variable '_context_path' MUST be set.
"""
bl_label = "Custom Properties"
- bl_default_closed = True
+ bl_options = {'DEFAULT_CLOSED'}
@classmethod
def poll(cls, context):