[Bf-blender-cvs] [f5a333f] master: Fix: Sliders in animeditors were getting drawn too far left

Joshua Leung noreply at git.blender.org
Thu Aug 6 16:48:50 CEST 2015


Commit: f5a333fe658fbf7bb4d07f79e289a194b28e515f
Author: Joshua Leung
Date:   Fri Aug 7 02:41:33 2015 +1200
Branches: master
https://developer.blender.org/rBf5a333fe658fbf7bb4d07f79e289a194b28e515f

Fix: Sliders in animeditors were getting drawn too far left

Sliders in for FCurves in the animation editors were leaving space for
one extra setting that they didn't need to be accounting for (and which
wasn't shown, as it isn't valid for FCurves).

===================================================================

M	source/blender/editors/animation/anim_channels_defines.c

===================================================================

diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index ce868e2..acc3c9c 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -952,6 +952,7 @@ static bool acf_fcurve_setting_valid(bAnimContext *ac, bAnimListElem *ale, eAnim
 		/* unsupported */
 		case ACHANNEL_SETTING_SOLO:   /* Solo Flag is only for NLA */
 		case ACHANNEL_SETTING_EXPAND: /* F-Curves are not containers */
+		case ACHANNEL_SETTING_PINNED: /* This is only for NLA Actions */
 			return false;
 		
 		/* conditionally available */




More information about the Bf-blender-cvs mailing list