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:
authorThomas Dinges <blender@dingto.org>2012-03-11 00:08:25 +0400
committerThomas Dinges <blender@dingto.org>2012-03-11 00:08:25 +0400
commitbb82854d46234bd986186c8f7a9779c3b8036bfb (patch)
treef7b81533351d29e97e1063ed4f76831692923a1d /release
parentd6a6f285d6b1983d2cf823e81570ad03dbc5bf06 (diff)
2.6 UI:
* Hide Modifier and Contraint Panel header, this gives a bit space. As it's the only panel in these context tabs it does not make sense to close them anyways.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py1
-rw-r--r--release/scripts/startup/bl_ui/properties_object_constraint.py2
2 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 2dad06836f3..e3d62250609 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -25,6 +25,7 @@ class ModifierButtonsPanel():
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = "modifier"
+ bl_options = {'HIDE_HEADER'}
class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
diff --git a/release/scripts/startup/bl_ui/properties_object_constraint.py b/release/scripts/startup/bl_ui/properties_object_constraint.py
index 68c00691122..c1b49d087ca 100644
--- a/release/scripts/startup/bl_ui/properties_object_constraint.py
+++ b/release/scripts/startup/bl_ui/properties_object_constraint.py
@@ -822,6 +822,7 @@ class ConstraintButtonsPanel():
class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
bl_label = "Object Constraints"
bl_context = "constraint"
+ bl_options = {'HIDE_HEADER'}
@classmethod
def poll(cls, context):
@@ -846,6 +847,7 @@ class OBJECT_PT_constraints(ConstraintButtonsPanel, Panel):
class BONE_PT_constraints(ConstraintButtonsPanel, Panel):
bl_label = "Bone Constraints"
bl_context = "bone_constraint"
+ bl_options = {'HIDE_HEADER'}
@classmethod
def poll(cls, context):