6cbeca5518
“LazyDictBase::WriteObjects()” in the two glTF implementations is only used for export. Since it’s a virtual method, and many compilers have trouble removing unreferenced virtual methods, glTF export stuff is pulled into the binary even if compiling without exports. This commit removes said virtual function if only compiling for import. This removes 75 KiB of useless code when compiled with Visual Studio for x64. |
||
---|---|---|
.. | ||
glTF2Asset.h | ||
glTF2Asset.inl | ||
glTF2AssetWriter.h | ||
glTF2AssetWriter.inl | ||
glTF2Exporter.cpp | ||
glTF2Exporter.h | ||
glTF2Importer.cpp | ||
glTF2Importer.h |