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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 04:55:20 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-21 04:55:20 +0400
commit1f4fa869e4877202fd91825f85be748fc3dfe50b (patch)
treec3fbbaf23568abe2b7c5d15d93ebb778f0ac003b /release/ui/buttons_data_bone.py
parent0aebd5f14475ef84b0095de4a8f034170b9aee75 (diff)
2.5: RNA & UI
* Revert lamp sampling/buffers change. The right enum items should be defined in RNA, not the layout, so that it works in outliner, python api too. * Also changed type popup to radio buttons again, and removed the icons. This is more consistent, and I don't think it's a good idea to start using icons for these things, too much clutter. * Replace Mesh with Normals panel in the mesh buttons. * Remove Material panel from mesh buttons. * Added name fields for shape/vgroup/vcol/uv. * Spacing tweak to Object and Bone names. * Fix some naming conflicts in RNA, with "name" and "type" properties being defined twice in the same struct. * context.scene.tool_settings -> context.tool_settings.
Diffstat (limited to 'release/ui/buttons_data_bone.py')
-rw-r--r--release/ui/buttons_data_bone.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py
index fae3d24839c..b31cac15425 100644
--- a/release/ui/buttons_data_bone.py
+++ b/release/ui/buttons_data_bone.py
@@ -19,9 +19,9 @@ class BONE_PT_context_bone(BoneButtonsPanel):
if not bone:
bone = context.edit_bone
- split = layout.split(percentage=0.06)
- split.itemL(text="", icon="ICON_BONE_DATA")
- split.itemR(bone, "name", text="")
+ row = layout.row()
+ row.itemL(text="", icon="ICON_BONE_DATA")
+ row.itemR(bone, "name", text="")
class BONE_PT_transform(BoneButtonsPanel):
__idname__ = "BONE_PT_transform"