Resolve: #24682 CSGPolygon - weird end cap
This commit is contained in:
parent
ee5ba3e097
commit
89a9f4621f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue