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 18:56:12 +0300
committerBastien Montagne <b.mont29@gmail.com>2020-03-09 18:56:53 +0300
commit4d0d43ce8ec68746a76b2001dfec7db7ca633fe4 (patch)
tree0b6a9579f1fb6a25738295082536e5dcd3ec20dc /source/blender/blenkernel/intern/lib_id.c
parentdab1d14a512b02e32327a222a61e3433a07d4885 (diff)
Cleanup: FreestyleLineStyle: 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.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/lib_id.c b/source/blender/blenkernel/intern/lib_id.c
index 69f62e8e023..17e9adbfba6 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -547,9 +547,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
BLI_assert(0);
return true;
case ID_LS:
- if (!test) {
- BKE_linestyle_make_local(bmain, (FreestyleLineStyle *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_PAL:
if (!test) {
@@ -751,8 +749,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BLI_assert(0);
break;
case ID_LS:
- BKE_linestyle_copy_data(
- bmain, (FreestyleLineStyle *)*r_newid, (FreestyleLineStyle *)id, flag);
+ BLI_assert(0);
break;
case ID_PAL:
BKE_palette_copy_data(bmain, (Palette *)*r_newid, (Palette *)id, flag);
@@ -1377,7 +1374,7 @@ void BKE_libblock_init_empty(ID *id)
BLI_assert(0);
break;
case ID_LS:
- BKE_linestyle_init((FreestyleLineStyle *)id);
+ BLI_assert(0);
break;
case ID_CF:
BLI_assert(0);