diff options
Diffstat (limited to 'tools/ApexImporter/src/Main.cpp')
| -rwxr-xr-x | tools/ApexImporter/src/Main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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);
}
|