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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-03-28 15:39:50 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-04-08 21:34:05 +0300
commit12417fcbf676198726baac5e8fc883f64f188b55 (patch)
tree52747b89a635d41ee8d1ad77f8b373bc3b9649f5 /source/blender/editors/animation/anim_channels_defines.c
parent1f1eedf8ad90da3c2ca9eb1d4554a895cbcaf506 (diff)
Fix T60821: highlighting issues in Dope Sheet
replaced check for (obsolete in 2.8) objects 'SELECT' flag with check for bases 'BASE_SELECTED' flag Reviewers: brecht Maniphest Tasks: T60821 Differential Revision: https://developer.blender.org/D4606
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index 618ac8f6f13..1bddc6268b5 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -734,7 +734,7 @@ static int acf_object_setting_flag(bAnimContext *UNUSED(ac), eAnimChannel_Settin
switch (setting) {
case ACHANNEL_SETTING_SELECT: /* selected */
- return SELECT;
+ return BASE_SELECTED;
case ACHANNEL_SETTING_EXPAND: /* expanded */
*neg = 1;
@@ -766,7 +766,7 @@ static void *acf_object_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings se
switch (setting) {
case ACHANNEL_SETTING_SELECT: /* selected */
- return GET_ACF_FLAG_PTR(ob->flag, type);
+ return GET_ACF_FLAG_PTR(base->flag, type);
case ACHANNEL_SETTING_EXPAND: /* expanded */
return GET_ACF_FLAG_PTR(ob->nlaflag, type); // xxx