Cleanup: Texture: Move to IDTypeInfo and remove unused BKE API.

This commit is contained in:
2020-03-06 16:52:42 +01:00
parent a7fb567c18
commit f4936de918
6 changed files with 88 additions and 82 deletions

View File

@@ -158,7 +158,7 @@ void BKE_libblock_free_datablock(ID *id, const int UNUSED(flag))
BLI_assert(0);
break;
case ID_TE:
BKE_texture_free((Tex *)id);
BLI_assert(0);
break;
case ID_IM:
BKE_image_free((Image *)id);