[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [44795] trunk/blender/release/scripts/ startup/bl_ui: 2.6 UI:
Thomas Dinges
blender at dingto.org
Sat Mar 10 21:08:32 CET 2012
Revision: 44795
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=44795
Author: dingto
Date: 2012-03-10 20:08:25 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
trunk/blender/release/scripts/startup/bl_ui/properties_object_constraint.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2012-03-10 19:57:56 UTC (rev 44794)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_data_modifier.py 2012-03-10 20:08:25 UTC (rev 44795)
@@ -25,6 +25,7 @@
bl_space_type = 'PROPERTIES'
bl_region_type = 'WINDOW'
bl_context = "modifier"
+ bl_options = {'HIDE_HEADER'}
class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_object_constraint.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_object_constraint.py 2012-03-10 19:57:56 UTC (rev 44794)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_object_constraint.py 2012-03-10 20:08:25 UTC (rev 44795)
@@ -822,6 +822,7 @@
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 BONE_PT_constraints(ConstraintButtonsPanel, Panel):
bl_label = "Bone Constraints"
bl_context = "bone_constraint"
+ bl_options = {'HIDE_HEADER'}
@classmethod
def poll(cls, context):
More information about the Bf-blender-cvs
mailing list