diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 17:46:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-07-21 17:46:45 +0300 |
commit | 63da2c4082a432379fc7fa4ed0d2c34b4cb2858d (patch) | |
tree | c22927cee465dc252b7fdc01b345b17ca151f0d9 /source/blender/blenkernel/intern | |
parent | 22bef356aedd16c3ce004e623c56ca082c200858 (diff) |
Cleanup: replace BLI_assert(test || !"text") with BLI_assert_msg(test, text)
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/fcurve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c index 8f47a7e75d4..5decc7a1792 100644 --- a/source/blender/blenkernel/intern/fcurve.c +++ b/source/blender/blenkernel/intern/fcurve.c @@ -918,7 +918,7 @@ void BKE_fcurve_active_keyframe_set(FCurve *fcu, const BezTriple *active_bezt) } /* The active keyframe should always be selected. */ - BLI_assert(BEZT_ISSEL_ANY(active_bezt) || !"active keyframe must be selected"); + BLI_assert_msg(BEZT_ISSEL_ANY(active_bezt), "active keyframe must be selected"); fcu->active_keyframe_index = (int)offset; } |