diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 18:05:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-03 18:05:21 +0300 |
commit | bfdb88f3f4a49249cea9ad954eb3b08ea290b81b (patch) | |
tree | eccf98a7ea2b12b3d00a8564df398ae7ea3cffc8 /source/blender/editors/armature/pose_transform.c | |
parent | 06a62d4e06445506b69b9d83c3ab5480254d40da (diff) |
Cleanup: rename list count_ex -> count_at_most
Diffstat (limited to 'source/blender/editors/armature/pose_transform.c')
-rw-r--r-- | source/blender/editors/armature/pose_transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_transform.c b/source/blender/editors/armature/pose_transform.c index 4feb1681349..a44accd1cea 100644 --- a/source/blender/editors/armature/pose_transform.c +++ b/source/blender/editors/armature/pose_transform.c @@ -525,7 +525,7 @@ static int pose_paste_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; } /* Make sure data from this file is usable for pose paste. */ - if (BLI_listbase_count_ex(&tmp_bmain->object, 2) != 1) { + if (BLI_listbase_count_at_most(&tmp_bmain->object, 2) != 1) { BKE_report(op->reports, RPT_ERROR, "Copy buffer is not from pose mode"); BKE_main_free(tmp_bmain); return OPERATOR_CANCELLED; |