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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2020-01-20 15:24:31 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2020-01-20 15:27:19 +0300
commitccfe5bf2158f4df47db7e2763282af10182183ed (patch)
tree88b2ea86e9aacfd3aaa88bcb51ba0424661efbf5 /source/blender/editors/object
parent153a96472a787c456e2482501ff2818fdaa88e2d (diff)
Cleanup: remove redundant function
Diffstat (limited to 'source/blender/editors/object')
-rw-r--r--source/blender/editors/object/object_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 24c1c53c25e..452b349cfbf 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2344,7 +2344,7 @@ static int convert_exec(bContext *C, wmOperator *op)
if (!keep_original) {
/* other users */
- if (BKE_id_num_real_users(&cu->id) > 1) {
+ if (ID_REAL_USERS(&cu->id) > 1) {
for (ob1 = bmain->objects.first; ob1; ob1 = ob1->id.next) {
if (ob1->data == ob->data) {
ob1->type = OB_CURVE;