Update tile_set_editor_plugin.cpp
This commit is contained in:
parent
ba2b09b034
commit
fcd39a506a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue