diff options
author | Nova <> | 2022-02-20 21:13:31 -0500 |
---|---|---|
committer | Nova <> | 2022-02-21 14:10:15 -0500 |
commit | 36ae916c09181c252e679d6d3bae38ac7a446204 (patch) | |
tree | 708ca0484b28c2cf91768a5a6bab08ee9bbae0d6 /thirdparty/misc | |
parent | b0ba9468ee40dad636dc9c5cd7b53c24041390d8 (diff) |
Fixed issue with Godot modifications to polypartition.cpp third-party file
Diffstat (limited to 'thirdparty/misc')
-rw-r--r-- | thirdparty/misc/patches/polypartition-godot-types.patch | 2 | ||||
-rw-r--r-- | thirdparty/misc/polypartition.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/misc/patches/polypartition-godot-types.patch b/thirdparty/misc/patches/polypartition-godot-types.patch index 61737f9fd2..5d8aba3437 100644 --- a/thirdparty/misc/patches/polypartition-godot-types.patch +++ b/thirdparty/misc/patches/polypartition-godot-types.patch @@ -101,7 +101,7 @@ index 3a8a6efa83..8c5409bf24 100644 pointvisible = true; - for (iter2 = polys.begin(); iter2 != polys.end(); iter2++) { - if (iter2->IsHole()) { -+ for (iter2 = polys.front(); iter2; iter2->next()) { ++ for (iter2 = polys.front(); iter2; iter2 = iter2->next()) { + if (iter2->get().IsHole()) { continue; } diff --git a/thirdparty/misc/polypartition.cpp b/thirdparty/misc/polypartition.cpp index 8c5409bf24..df144c57a6 100644 --- a/thirdparty/misc/polypartition.cpp +++ b/thirdparty/misc/polypartition.cpp @@ -262,7 +262,7 @@ int TPPLPartition::RemoveHoles(TPPLPolyList *inpolys, TPPLPolyList *outpolys) { } } pointvisible = true; - for (iter2 = polys.front(); iter2; iter2->next()) { + for (iter2 = polys.front(); iter2; iter2 = iter2->next()) { if (iter2->get().IsHole()) { continue; } |