diff options
| author | Bryan Galdrikian <[email protected]> | 2019-05-03 00:25:46 -0700 |
|---|---|---|
| committer | Bryan Galdrikian <[email protected]> | 2019-05-03 00:25:46 -0700 |
| commit | 74b64a27f8e07b1b0b47b809b1a060518fa11a97 (patch) | |
| tree | 34cca01711be56892c149706f02ba7358d87ec54 /tools/ApexImporter/src/Main.cpp | |
| parent | Fixing chunk reorder bug in BlastTool, when importing a prefractured mesh (diff) | |
| download | blast-1.1.5_pre1.tar.xz blast-1.1.5_pre1.zip | |
Blast SDK 1.1.5 prerelease #1v1.1.5_pre1
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);
}
|