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-07-21 13:59:19 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-21 13:59:19 +0300
commitd1e1d6c4916addd078f6ec7fb944829652e6a39a (patch)
treeba54fc7e29efc8300b4b0fd52d12e3f69aa40f65 /source/blender/editors/armature
parentbbcc8330f780551b700c42909f2c0b8673879095 (diff)
Cleanup: replace BLI_assert(!"text") with BLI_assert_msg(0, "text")
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/pose_lib_2.c2
1 files changed, 1 insertions, 1 deletions
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: