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/blenkernel/intern/paint.c')
-rw-r--r--source/blender/blenkernel/intern/paint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/paint.c b/source/blender/blenkernel/intern/paint.c
index 52512f87053..249a4345a7d 100644
--- a/source/blender/blenkernel/intern/paint.c
+++ b/source/blender/blenkernel/intern/paint.c
@@ -445,7 +445,7 @@ void BKE_paint_curve_copy_data(Main *UNUSED(bmain), PaintCurve *pc_dst, const Pa
PaintCurve *BKE_paint_curve_copy(Main *bmain, const PaintCurve *pc)
{
PaintCurve *pc_copy;
- BKE_id_copy_ex(bmain, &pc->id, (ID **)&pc_copy, 0);
+ BKE_id_copy(bmain, &pc->id, (ID **)&pc_copy);
return pc_copy;
}
@@ -526,7 +526,7 @@ void BKE_palette_copy_data(Main *UNUSED(bmain), Palette *palette_dst, const Pale
Palette *BKE_palette_copy(Main *bmain, const Palette *palette)
{
Palette *palette_copy;
- BKE_id_copy_ex(bmain, &palette->id, (ID **)&palette_copy, 0);
+ BKE_id_copy(bmain, &palette->id, (ID **)&palette_copy);
return palette_copy;
}