You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Resolve: #24682 CSGPolygon - weird end cap
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user