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:
authorDalai Felinto <dalai@blender.org>2020-03-06 21:48:18 +0300
committerDalai Felinto <dalai@blender.org>2020-03-06 22:07:02 +0300
commit558f449f8c4b212302a2530daecda9346ea10177 (patch)
tree19b9972cc9a28276d9d42e2784b6b72b3d8b8983 /source/blender/blenkernel/intern/lib_id.c
parent717786231341f15643bffef54d6a122ab34b7e92 (diff)
Cleanup: Text: 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 252b2499905..b74bb134dd3 100644
--- a/source/blender/blenkernel/intern/lib_id.c
+++ b/source/blender/blenkernel/intern/lib_id.c
@@ -516,9 +516,7 @@ bool BKE_lib_id_make_local(Main *bmain, ID *id, const bool test, const int flags
}
return true;
case ID_TXT:
- if (!test) {
- BKE_text_make_local(bmain, (Text *)id, flags);
- }
+ BLI_assert(0);
return true;
case ID_SO:
if (!test) {
@@ -739,7 +737,7 @@ bool BKE_id_copy_ex(Main *bmain, const ID *id, ID **r_newid, const int flag)
BLI_assert(0);
break;
case ID_TXT:
- BKE_text_copy_data(bmain, (Text *)*r_newid, (Text *)id, flag);
+ BLI_assert(0);
break;
case ID_GR:
BLI_assert(0);
@@ -1363,7 +1361,7 @@ void BKE_libblock_init_empty(ID *id)
BKE_vfont_init((VFont *)id);
break;
case ID_TXT:
- BKE_text_init((Text *)id);
+ BLI_assert(0);
break;
case ID_SO:
/* Another fuzzy case, think NULLified content is OK here... */