From d1e1d6c4916addd078f6ec7fb944829652e6a39a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 21 Jul 2021 20:59:19 +1000 Subject: Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text") --- source/blender/editors/armature/pose_lib_2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/armature') diff --git a/source/blender/editors/armature/pose_lib_2.c b/source/blender/editors/armature/pose_lib_2.c index 84e49a6f42b..e146799a23c 100644 --- a/source/blender/editors/armature/pose_lib_2.c +++ b/source/blender/editors/armature/pose_lib_2.c @@ -422,7 +422,7 @@ static void poselib_blend_cleanup(bContext *C, wmOperator *op) case POSE_BLEND_BLENDING: case POSE_BLEND_ORIGINAL: /* Cleanup should not be called directly from these states. */ - BLI_assert(!"poselib_blend_cleanup: unexpected pose blend state"); + BLI_assert_msg(0, "poselib_blend_cleanup: unexpected pose blend state"); BKE_report(op->reports, RPT_ERROR, "Internal pose library error, cancelling operator"); ATTR_FALLTHROUGH; case POSE_BLEND_CANCEL: -- cgit v1.2.3