diff options
| author | bgaldrikian <[email protected]> | 2020-10-08 22:01:09 -0700 |
|---|---|---|
| committer | bgaldrikian <[email protected]> | 2020-10-08 22:01:09 -0700 |
| commit | c389ca2d86ed528e4d54941378a4752ca74026e8 (patch) | |
| tree | 271dba95c84f62d13bcebbc62b5dcdc5b7ff443e /sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp | |
| parent | * NvBlastAsset::testForValidChunkOrder (used when creating an NvBlastAsset) i... (diff) | |
| download | blast-1.1.6_release.tar.xz blast-1.1.6_release.zip | |
* Updated license filev1.1.6_releasev1.1.6_rc1
* Updated copyright dates
* Removed ArtistTool
* Pulled request #15 "Fix Blast bond generation"
* Pulled request #16 "Fix invalid pointer access in authoring tools"
Diffstat (limited to 'sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp')
| -rwxr-xr-x | sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp b/sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp index f5bc66c..d3ecc57 100755 --- a/sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp +++ b/sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp @@ -23,7 +23,7 @@ // components in life support devices or systems without express written approval of
// NVIDIA Corporation.
//
-// Copyright (c) 2016-2018 NVIDIA Corporation. All rights reserved.
+// Copyright (c) 2016-2020 NVIDIA Corporation. All rights reserved.
#include <PxVec3.h>
#include <PxVec2.h>
@@ -1558,7 +1558,11 @@ Mesh* MeshCleanerImpl::cleanMesh(const Mesh* mesh) }
}
- trque.push(best);
+ if (!trs.empty())
+ {
+ trque.push(best);
+ }
+
while (!trque.empty())
{
int32_t trid = trque.front();
|