[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [20690] branches/blender2.5/blender/ release/ui/buttons_object_constraint.py: Forgot to update this file.
Thomas Dinges
dingto at gmx.de
Sun Jun 7 00:14:54 CEST 2009
Revision: 20690
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20690
Author: dingto
Date: 2009-06-07 00:14:45 +0200 (Sun, 07 Jun 2009)
Log Message:
-----------
Forgot to update this file. Constraints now go into the new constraint tab. :)
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_object_constraint.py
Modified: branches/blender2.5/blender/release/ui/buttons_object_constraint.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_object_constraint.py 2009-06-06 21:54:12 UTC (rev 20689)
+++ branches/blender2.5/blender/release/ui/buttons_object_constraint.py 2009-06-06 22:14:45 UTC (rev 20690)
@@ -4,7 +4,7 @@
class ConstraintButtonsPanel(bpy.types.Panel):
__space_type__ = "BUTTONS_WINDOW"
__region_type__ = "WINDOW"
- __context__ = "object"
+ __context__ = "constraint"
def draw_constraint(self, con):
layout = self.layout
@@ -509,7 +509,7 @@
class OBJECT_PT_constraints(ConstraintButtonsPanel):
__idname__ = "OBJECT_PT_constraints"
__label__ = "Constraints"
- __context__ = "object"
+ __context__ = "constraint"
def poll(self, context):
return (context.object != None)
@@ -527,8 +527,8 @@
class BONE_PT_constraints(ConstraintButtonsPanel):
__idname__ = "BONE_PT_constraints"
- __label__ = "Constraints"
- __context__ = "bone"
+ __label__ = "Bone Constraints"
+ __context__ = "constraint"
def poll(self, context):
ob = context.object
@@ -547,5 +547,4 @@
self.draw_constraint(con)
bpy.types.register(OBJECT_PT_constraints)
-bpy.types.register(BONE_PT_constraints)
-
+bpy.types.register(BONE_PT_constraints)
\ No newline at end of file
More information about the Bf-blender-cvs
mailing list