diff options
Diffstat (limited to 'tools/ApexImporter/src')
| -rwxr-xr-x | tools/ApexImporter/src/ApexDestructibleObjExporter.h | 1 | ||||
| -rwxr-xr-x | tools/ApexImporter/src/Main.cpp | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/ApexImporter/src/ApexDestructibleObjExporter.h b/tools/ApexImporter/src/ApexDestructibleObjExporter.h index c4cf859..5c0ed64 100755 --- a/tools/ApexImporter/src/ApexDestructibleObjExporter.h +++ b/tools/ApexImporter/src/ApexDestructibleObjExporter.h @@ -31,7 +31,6 @@ #include <string>
#include <vector>
-#include <NvBlastExtAuthoringCollisionBuilder.h>
#include <NvBlastExtApexImportTool.h>
diff --git a/tools/ApexImporter/src/Main.cpp b/tools/ApexImporter/src/Main.cpp index c7b5897..3b5a2e0 100755 --- a/tools/ApexImporter/src/Main.cpp +++ b/tools/ApexImporter/src/Main.cpp @@ -225,6 +225,14 @@ void run(const std::string& inFilepath, const std::string& outDir, const std::st }
}
+ for (auto& hv : hulls)
+ {
+ for (auto h : hv)
+ {
+ blast.getCollisionBuilder()->releaseCollisionHull(h);
+ }
+ }
+
NVBLAST_FREE(llAsset);
}
|