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:
Diffstat (limited to 'source/blender/editors/object/object_add.c')
-rw-r--r--source/blender/editors/object/object_add.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index 21c9f776b94..fcce65c9326 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -1391,7 +1391,7 @@ static int convert_exec(bContext *C, wmOperator *op)
((Curve *)newob->data)->id.us--;
/* make a new copy of the curve */
- newob->data = copy_curve(ob->data);
+ newob->data = BKE_curve_copy(ob->data);
}
else {
newob = ob;
@@ -1456,7 +1456,7 @@ static int convert_exec(bContext *C, wmOperator *op)
((Curve *)newob->data)->id.us--;
/* make a new copy of the curve */
- newob->data = copy_curve(ob->data);
+ newob->data = BKE_curve_copy(ob->data);
}
else {
newob = ob;
@@ -1474,7 +1474,7 @@ static int convert_exec(bContext *C, wmOperator *op)
base->flag &= ~SELECT;
ob->flag &= ~SELECT;
- baseob = find_basis_mball(scene, ob);
+ baseob = BKE_metaball_basis_find(scene, ob);
if (ob != baseob) {
/* if motherball is converting it would be marked as done later */
@@ -1701,7 +1701,7 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
if (dupflag & USER_DUP_CURVE) {
ID_NEW_US2(obn->data)
else {
- obn->data = copy_curve(obn->data);
+ obn->data = BKE_curve_copy(obn->data);
didit = 1;
}
id->us--;
@@ -1711,7 +1711,7 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
if (dupflag & USER_DUP_SURF) {
ID_NEW_US2(obn->data)
else {
- obn->data = copy_curve(obn->data);
+ obn->data = BKE_curve_copy(obn->data);
didit = 1;
}
id->us--;
@@ -1721,7 +1721,7 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
if (dupflag & USER_DUP_FONT) {
ID_NEW_US2(obn->data)
else {
- obn->data = copy_curve(obn->data);
+ obn->data = BKE_curve_copy(obn->data);
didit = 1;
}
id->us--;
@@ -1731,7 +1731,7 @@ static Base *object_add_duplicate_internal(Main *bmain, Scene *scene, Base *base
if (dupflag & USER_DUP_MBALL) {
ID_NEW_US2(obn->data)
else {
- obn->data = copy_mball(obn->data);
+ obn->data = BKE_metaball_copy(obn->data);
didit = 1;
}
id->us--;