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. |
||
---|---|---|
.. | ||
glTFAsset.h | ||
glTFAsset.inl | ||
glTFAssetWriter.h | ||
glTFAssetWriter.inl | ||
glTFCommon.cpp | ||
glTFCommon.h | ||
glTFExporter.cpp | ||
glTFExporter.h | ||
glTFImporter.cpp | ||
glTFImporter.h |