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:
authorCampbell Barton <ideasman42@gmail.com>2011-04-11 04:49:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-11 04:49:08 +0400
commitcfc2b0b01ffe24ee2be224c0c266b8707cf0f7b6 (patch)
tree7b6b714eec6aed90cfc3c147ff3254b288e5f40f /source/blender/editors/animation/keyframing.c
parente37dc17991668d696497b5af70ad8133db71b107 (diff)
fix for one of the [#26854] UV issues
- add back UV X/Y number buttons, the report points out they are missing. - set the 2D cursor's subtype to PROP_COORDS (so buttons say x/y now)
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r--source/blender/editors/animation/keyframing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index fe461b50a98..278fa4ccab4 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -916,7 +916,7 @@ short insert_keyframe (ReportList *reports, ID *id, bAction *act, const char gro
/* for Loc/Rot/Scale and also Color F-Curves, the color of the F-Curve in the Graph Editor,
* is determined by the array index for the F-Curve
*/
- if (ELEM4(RNA_property_subtype(prop), PROP_TRANSLATION, PROP_XYZ, PROP_EULER, PROP_COLOR)) {
+ if (ELEM5(RNA_property_subtype(prop), PROP_TRANSLATION, PROP_XYZ, PROP_EULER, PROP_COLOR, PROP_COORDS)) {
fcu->color_mode= FCURVE_COLOR_AUTO_RGB;
}
}