From 7eaf3eb58e83203c3fccb80dfb3f579c2cfe5b75 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 23 Apr 2012 09:17:37 +0000 Subject: fix [#30937] Pose UI hack needed to be undone, alternate fix is needed. rather then assigning the enum, default to the active pose when the property isnt set. --- release/scripts/startup/bl_ui/properties_data_armature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/properties_data_armature.py b/release/scripts/startup/bl_ui/properties_data_armature.py index b94af13af7e..08529a0423d 100644 --- a/release/scripts/startup/bl_ui/properties_data_armature.py +++ b/release/scripts/startup/bl_ui/properties_data_armature.py @@ -204,7 +204,7 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, Panel): pose_marker_active = poselib.pose_markers.active if pose_marker_active is not None: - col.operator("poselib.pose_remove", icon='ZOOMOUT', text="").pose = pose_marker_active.name + col.operator("poselib.pose_remove", icon='ZOOMOUT', text="") col.operator("poselib.apply_pose", icon='ZOOM_SELECTED', text="").pose_index = poselib.pose_markers.active_index col.operator("poselib.action_sanitise", icon='HELP', text="") # XXX: put in menu? -- cgit v1.2.3