2025.6.1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user