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>2010-12-29 15:52:06 +0300
committerJoshua Leung <aligorith@gmail.com>2010-12-29 15:52:06 +0300
commitd36f15df0376ff4f587631c1254ef1b8227b7c3a (patch)
tree6819b07260206e66a87be57277221c0510ca013a /source/blender/editors/space_nla
parentf22a3c16b148fe0c02c92347f063df45019b3814 (diff)
DopeSheet Drawing Tweak:
Keyframes for locked channels are now shown faintly so that it is possible to easily distinguish between keyframes for locked channels and unlocked channels. Hopefully this solves the problem where you have some keyframes selected, and try to move them but forget that those channels are locked (without any feedback other than a single icon). Thanks for pointing out this problem Ronan Zeegers!
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c
index e6028735d52..eebca82b8d1 100644
--- a/source/blender/editors/space_nla/nla_draw.c
+++ b/source/blender/editors/space_nla/nla_draw.c
@@ -141,7 +141,7 @@ static void nla_action_draw_keyframes (AnimData *adt, bAction *act, View2D *v2d,
* - size is 3.0f which is smaller than the editable keyframes, so that there is a distinction
*/
for (ak= keys.first; ak; ak= ak->next)
- draw_keyframe_shape(ak->cfra, y, xscale, 3.0f, 0, ak->key_type, KEYFRAME_SHAPE_FRAME);
+ draw_keyframe_shape(ak->cfra, y, xscale, 3.0f, 0, ak->key_type, KEYFRAME_SHAPE_FRAME, 1.0f);
/* free icons */
BLI_dlrbTree_free(&keys);