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:
authorBastien Montagne <b.mont29@gmail.com>2020-03-09 14:35:25 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-09 14:49:04 +0300
commitb9d1026ce02814473401024e7a3666900488003a (patch)
treeae3aaa06e65974689ffc3482fa7c70c56671585a /source/blender/blenkernel/intern/lib_id.c
parentb57d3afb764fffd55d17502075e8f49fdf95f7a1 (diff)
Cleanup: PaintCurve: Move to IDTypeInfo and remove unused BKE API.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_id.c')
-rw-r--r--source/blender/blenkernel/intern/lib_id.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index fa6996d8701..ff9f342f27d 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -563,9 +563,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
}
return true;
case ID_PC:
- if (!test) {
- BKE_paint_curve_make_local(bmain, (PaintCurve *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_CF:
BLI_assert(0);
@@ -767,7 +765,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BKE_palette_copy_data(bmain, (Palette *)*r_newid, (Palette *)id, flag);
break;
case ID_PC:
- BKE_paint_curve_copy_data(bmain, (PaintCurve *)*r_newid, (PaintCurve *)id, flag);
+ BLI_assert(0);
break;
case ID_CF:
BLI_assert(0);
@@ -1377,7 +1375,7 @@ void BKE_libblock_init_empty(ID *id)
/* Nothing to do. */
break;
case ID_PC:
- /* Nothing to do. */
+ BLI_assert(0);
break;
case ID_GD:
/* Nothing to do. */