From c389ca2d86ed528e4d54941378a4752ca74026e8 Mon Sep 17 00:00:00 2001 From: bgaldrikian Date: Thu, 8 Oct 2020 22:01:09 -0700 Subject: * Updated license file * Updated copyright dates * Removed ArtistTool * Pulled request #15 "Fix Blast bond generation" * Pulled request #16 "Fix invalid pointer access in authoring tools" --- .../authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sdk/extensions/authoring/source/NvBlastExtAuthoringMeshCleanerImpl.cpp') 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 #include @@ -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(); -- cgit v1.2.3