You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Update tile_set_editor_plugin.cpp
This commit is contained in:
@@ -2417,6 +2417,8 @@ void TileSetEditor::draw_polygon_shapes() {
|
||||
colors.push_back(c_bg);
|
||||
}
|
||||
}
|
||||
if (polygon.size() == 0)
|
||||
continue;
|
||||
if (polygon.size() > 2) {
|
||||
workspace->draw_polygon(polygon, colors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user