From 7756da34c9256c5948a79435301c88a4b850cb3d Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 16 Feb 2011 02:05:41 +0000 Subject: PoseLib UI and Bugfixes: - Added operator button to show the current pose. This runs on top of the interactive pose browse functionality, so the tooltip may be a bit obtuse... - Specifying a pose for the Pose browse functionality to set now works correctly. Previously, some old depsgraph hacks were actually interferring with correct updating (only the armature updated correctly, but deforms didn't occur) - Fixed a case of accessing freed memory, which I'm surprised no static checkers have reportedly picked up on yet, or that nobody has really had issues with (probably due to low memory "turnaround" so far) --- release/scripts/ui/properties_data_armature.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'release') diff --git a/release/scripts/ui/properties_data_armature.py b/release/scripts/ui/properties_data_armature.py index 566cf1dc3cc..793b75d6d5a 100644 --- a/release/scripts/ui/properties_data_armature.py +++ b/release/scripts/ui/properties_data_armature.py @@ -193,12 +193,12 @@ class DATA_PT_pose_library(ArmatureButtonsPanel, bpy.types.Panel): col.operator_context = 'EXEC_DEFAULT' # exec not invoke, so that menu doesn't need showing col.operator("poselib.pose_remove", icon='ZOOMOUT', text="").pose = activePoseName - # TODO: - # - show selected pose in 3d-view using browse op... - # - rename selected pose... + #col.operator_context = 'EXEC_DEFAULT' # exec not invoke, so modal preview loop doesn't run + col.operator("poselib.browse_interactive", icon='ZOOM_SELECTED', text="").pose_index = activePoseIndex # TODO: "validate action" operator to be restored + # TODO: this panel will soon be depreceated too class DATA_PT_ghost(ArmatureButtonsPanel, bpy.types.Panel): bl_label = "Ghost" -- cgit v1.2.3