This commit is contained in:
ninja
2025-12-15 23:22:33 +08:00
parent 019570564b
commit 8782765fbc
809 changed files with 118753 additions and 18289 deletions

View File

@@ -12,6 +12,7 @@
#include "ExchangeManagement.h"
#include <A3DSDKIncludes.h>
#include <hoops_license.h>
#include "PRC2XML.h"
@@ -25,7 +26,7 @@
ExchangeManagement::ExchangeManagement() {
m_libraryLoadingStatus = A3D_SUCCESS;
m_sHoopsExchangeLoader = new A3DSDKHOOPSExchangeLoader(NULL);
m_sHoopsExchangeLoader = new A3DSDKHOOPSExchangeLoader(NULL, HOOPS_LICENSE);
m_libraryLoadingStatus = m_sHoopsExchangeLoader->m_eSDKStatus;
}
@@ -35,7 +36,7 @@ A3DInt32 ExchangeManagement::convert(const std::string& filename, const std::str
if (m_libraryLoadingStatus == A3D_SUCCESS) {
A3DImport sImport(filename.c_str());
iRet = ProcessFile(*m_sHoopsExchangeLoader, sImport, filename.c_str(), outputPath.c_str());
iRet = ProcessFile(*m_sHoopsExchangeLoader, sImport, filename.c_str(), outputPath.c_str(), false);
}
return iRet;
}