Fix: use ENUM_OPERATORS macro correctly for eInsertKeyFlags enum #122711

Merged
Nathan Vegdahl merged 1 commits from nathanvegdahl/blender:fix_insert_key_flags_enum into main 2024-06-04 14:08:18 +02:00

1 Commits

Author SHA1 Message Date
d8a9ed90fd Fix: use ENUM_OPERATORS macro correctly for eInsertKeyFlags enum
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
It was passing a sentinel maximum enum value to `ENUM_OPERATOR`,  which
is incorrect.  In particular, this caused the bitwise-not operator to
work incorrectly and produce invalid values.
2024-06-04 13:25:37 +02:00