diff options
author | Jacques Lucke <jacques@blender.org> | 2020-11-06 20:41:03 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-11-06 20:41:03 +0300 |
commit | b0dcabdf6547e837e91cbcdc465bb029df01d9dc (patch) | |
tree | 2c43f49c3e5fcdd6b6c9f2771ad1bb2005bc1c2f /source/blender/blenloader/intern/writefile.c | |
parent | 992b8f6f5fce7f34139ad4acf4a2b74c0cf49185 (diff) |
Cleanup: fix naming and remove unnecessary code
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index c062175aff6..72c82c6c652 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -1068,60 +1068,6 @@ static bool write_file_handle(Main *mainvar, id_type->blend_write(&writer, (ID *)id_buffer, id); } - switch ((ID_Type)GS(id->name)) { - case ID_OB: - case ID_SCE: - case ID_WM: - case ID_WS: - case ID_SCR: - case ID_PA: - case ID_GR: - case ID_ME: - case ID_LT: - case ID_AC: - case ID_NT: - case ID_LS: - case ID_TXT: - case ID_VF: - case ID_MC: - case ID_PC: - case ID_PAL: - case ID_BR: - case ID_IM: - case ID_LA: - case ID_MA: - case ID_MB: - case ID_CU: - case ID_CA: - case ID_WO: - case ID_MSK: - case ID_SPK: - case ID_AR: - case ID_LP: - case ID_KE: - case ID_TE: - case ID_GD: - case ID_HA: - case ID_PT: - case ID_VO: - case ID_SIM: - case ID_SO: - case ID_CF: - /* Do nothing, handled in IDTypeInfo callback. */ - break; - case ID_LI: - /* Do nothing, handled below - and should never be reached. */ - BLI_assert(0); - break; - case ID_IP: - /* Do nothing, deprecated. */ - break; - default: - /* Should never be reached. */ - BLI_assert(0); - break; - } - if (do_override) { BKE_lib_override_library_operations_store_end(override_storage, id); } |