Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2015-08-06 17:41:33 +0300
committerJoshua Leung <aligorith@gmail.com>2015-08-06 17:46:38 +0300
commitf5a333fe658fbf7bb4d07f79e289a194b28e515f (patch)
tree361757567a9fd1c84567e80129ccee590865467e /source/blender/editors/animation/anim_channels_defines.c
parent599d8291ad4c789eca425ac9865b669c59e4d3c0 (diff)
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).
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index ce868e2277c..acc3c9c2a33 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 */