Resolve: #24682 CSGPolygon - weird end cap

This commit is contained in:
Jason 2019-05-17 20:49:24 +02:00
parent ee5ba3e097
commit 89a9f4621f

View file

@ -2082,6 +2082,9 @@ CSGBrush *CSGPolygon::_build_brush() {
for (int i = 0; i <= splits; i++) {
float ofs = i * path_interval;
if (ofs > bl) {
ofs = bl;
}
if (i == splits && path_joined) {
ofs = 0.0;
}