From a819ef65c07131ddb203a55bd8dc4e3207130b64 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Wed, 1 Nov 2017 13:38:51 +1300 Subject: Fix for T48988 - Enabling bbone easing for posemode This fix enables the usage of bbones easing parameters for edit and pose mode seperately. This allows animators to take advantage of the functionality and may eliminate confusion as the parameters now behave similar to other bbone parameters. Note that splitting the parameters between the modes effectively creates a new parameter set. Blend files of previous versions do not contain this information and will have the values set to 0 on load. As it broke backwards compatibility for pose mode values anyway, I also took the liberty to rename the easing parameters in some places for consistency (which breaks edit mode values). Reviewers: aligorith Subscribers: aligorith Tags: #animation Differential Revision: https://developer.blender.org/D2796 --- release/scripts/startup/bl_ui/properties_data_bone.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to '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 132c355ed99..5e0ef5058dd 100644 --- a/release/scripts/startup/bl_ui/properties_data_bone.py +++ b/release/scripts/startup/bl_ui/properties_data_bone.py @@ -193,13 +193,8 @@ class BONE_PT_curved(BoneButtonsPanel, Panel): sub = row.column(align=True) sub.label("Easing:") - if pchan: - # XXX: have these also be an overlay? - sub.prop(bbone.bone, "bbone_in", text="Ease In") - sub.prop(bbone.bone, "bbone_out", text="Ease Out") - else: - sub.prop(bone, "bbone_in", text="Ease In") - sub.prop(bone, "bbone_out", text="Ease Out") + sub.prop(bbone, "bbone_easein", text="Ease In") + sub.prop(bbone, "bbone_easeout", text="Ease Out") if pchan: layout.separator() -- cgit v1.2.3