aboutsummaryrefslogtreecommitdiff
path: root/tools/ApexImporter/src/Main.cpp
diff options
context:
space:
mode:
authorBryan Galdrikian <[email protected]>2019-05-03 00:25:46 -0700
committerBryan Galdrikian <[email protected]>2019-05-03 00:25:46 -0700
commit74b64a27f8e07b1b0b47b809b1a060518fa11a97 (patch)
tree34cca01711be56892c149706f02ba7358d87ec54 /tools/ApexImporter/src/Main.cpp
parentFixing chunk reorder bug in BlastTool, when importing a prefractured mesh (diff)
downloadblast-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-xtools/ApexImporter/src/Main.cpp8
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);
}