diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-20 11:50:09 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-20 11:50:09 +0300 |
commit | a5a30e485ff94ecc82cd2c93e3e6f3fa1ad3bfe7 (patch) | |
tree | fd85225d89aef6e96fa89da168d2e2879053b61a /source/blender/editors/object/object_add.c | |
parent | fb26d25405319191eed286a0f9bdd58b899c6009 (diff) | |
parent | 02f6722350d9b613450016505db0c24ba2bc9109 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/object/object_add.c')
-rw-r--r-- | source/blender/editors/object/object_add.c | 2 |
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 09a8af6333c..64c4abd1446 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -2325,7 +2325,7 @@ static int convert_exec(bContext *C, wmOperator *op) if (!keep_original) { /* other users */ - if (cu->id.us > 1) { + if (BKE_id_num_real_users(&cu->id) > 1) { for (ob1 = bmain->objects.first; ob1; ob1 = ob1->id.next) { if (ob1->data == ob->data) { ob1->type = OB_CURVE; |