Cleanup: VFont: Move to IDTypeInfo and remove unused BKE API

This was particularly strange because we had a _free_data() function.
But still the one I replaced was of course the _free() one.

And we should rename the _free_data_ function later to avoid confusions.
This commit is contained in:
2020-03-06 20:00:42 +01:00
parent 558f449f8c
commit afe6df1487
6 changed files with 87 additions and 72 deletions

View File

@@ -184,7 +184,7 @@ void BKE_libblock_free_datablock(ID *id, const int UNUSED(flag))
BLI_assert(0);
break;
case ID_VF:
BKE_vfont_free((VFont *)id);
BLI_assert(0);
break;
case ID_TXT:
BLI_assert(0);