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>2021-08-10 05:04:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-10 05:04:17 +0300
commit3335f852a12973d4cb462d1f73a5cd734a313494 (patch)
treedf896bbebcb958b1554da1044127f41fa51da1ef /source/blender/editors
parent26fea4de635f28d91cb81a54cf18382c839861cb (diff)
Cleanup: mixing enum/non-enum type warning in conditional expression
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/animation/keyframes_keylist.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/animation/keyframes_keylist.cc b/source/blender/editors/animation/keyframes_keylist.cc
index 85036efc983..916d7de0635 100644
--- a/source/blender/editors/animation/keyframes_keylist.cc
+++ b/source/blender/editors/animation/keyframes_keylist.cc
@@ -294,7 +294,7 @@ static void nupdate_ak_bezt(void *node, void *data)
}
/* For interpolation type, select the highest value (enum is sorted). */
- ak->handle_type = MAX2(ak->handle_type, bezt_handle_type(bezt));
+ ak->handle_type = MAX2((eKeyframeHandleDrawOpts)ak->handle_type, bezt_handle_type(bezt));
/* For extremes, detect when combining different states. */
const char new_extreme = bezt_extreme_type(chain);