diff options
author | Thomas Dinges <blender@dingto.org> | 2009-06-07 02:14:45 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2009-06-07 02:14:45 +0400 |
commit | 1bb8d745b914aade700d69220e665096d5db43d0 (patch) | |
tree | e7fb8cc96007c2fc19505820179ab8fc7fe8a194 /release/ui | |
parent | 927c8b5be66491f0cce84063bab8978a835e986f (diff) |
Forgot to update this file. Constraints now go into the new constraint tab. :)
Diffstat (limited to 'release/ui')
-rw-r--r-- | release/ui/buttons_object_constraint.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py index 5b32124ff33..f4507f9149d 100644 --- a/release/ui/buttons_object_constraint.py +++ b/release/ui/buttons_object_constraint.py @@ -4,7 +4,7 @@ import bpy 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 ConstraintButtonsPanel(bpy.types.Panel): 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 OBJECT_PT_constraints(ConstraintButtonsPanel): 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 @@ class BONE_PT_constraints(ConstraintButtonsPanel): 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 |