[Bf-blender-cvs] [d7331aa] BendyBones: Bendy Bones: Tweak UI for custom reference bones to be tider
Joshua Leung
noreply at git.blender.org
Tue May 17 16:40:57 CEST 2016
Commit: d7331aa21788de13fac86ae5ef8cf9cef3556923
Author: Joshua Leung
Date: Wed May 18 01:55:12 2016 +1200
Branches: BendyBones
https://developer.blender.org/rBd7331aa21788de13fac86ae5ef8cf9cef3556923
Bendy Bones: Tweak UI for custom reference bones to be tider
===================================================================
M release/scripts/startup/bl_ui/properties_data_bone.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py b/release/scripts/startup/bl_ui/properties_data_bone.py
index 4ac10f2..99c0d7f 100644
--- a/release/scripts/startup/bl_ui/properties_data_bone.py
+++ b/release/scripts/startup/bl_ui/properties_data_bone.py
@@ -209,15 +209,16 @@ class BONE_PT_curved(BoneButtonsPanel, Panel):
row = col.row()
row.active = pchan.use_bbone_custom_handles
- row.prop_search(pchan, "bbone_custom_handle_start", ob.pose, "bones", text="In")
- row.prop_search(pchan, "bbone_custom_handle_end", ob.pose, "bones", text="Out")
-
- row = col.row()
- row.active = pchan.use_bbone_custom_handles
- row.prop(pchan, "use_bbone_relative_start_handle", text="Relative")
- row.prop(pchan, "use_bbone_relative_end_handle", text="Relative")
+ sub = row.column(align=True)
+ sub.label(text="In:")
+ sub.prop_search(pchan, "bbone_custom_handle_start", ob.pose, "bones", text="")
+ sub.prop(pchan, "use_bbone_relative_start_handle", text="Relative")
+ sub = row.column(align=True)
+ sub.label(text="Out:")
+ sub.prop_search(pchan, "bbone_custom_handle_end", ob.pose, "bones", text="")
+ sub.prop(pchan, "use_bbone_relative_end_handle", text="Relative")
class BONE_PT_relations(BoneButtonsPanel, Panel):
More information about the Bf-blender-cvs
mailing list