Skip to content

Commit

Permalink
Update TriangulateCDT.h
Browse files Browse the repository at this point in the history
The previous version had a bug fix in the non-deprecated version of FillRegion. I also added that fix to the deprecated version in case folks are still using it.
  • Loading branch information
davideberly committed Nov 20, 2021
1 parent b51c7fb commit 0c96b87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GTE/Mathematics/TriangulateCDT.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt
// https://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// Version: 4.0.2021.11.02
// Version: 4.0.2021.11.19

#pragma once

Expand Down Expand Up @@ -479,7 +479,7 @@ namespace gte
auto const& tmap = graph.GetTriangles();
while (regionQueue.size() > 0)
{
auto const& tkey = regionQueue.front();
TriangleKey<true> tkey = regionQueue.front();
regionQueue.pop();
auto titer = tmap.find(tkey);
LogAssert(titer != tmap.end(), "Unexpected condition.");
Expand Down

0 comments on commit 0c96b87

Please sign in to comment.