Revert "Updated tile_set_editor_plugin.cpp And area.cpp# This is a combination of 2 commits."

This reverts commit 2d995372d8.
This commit is contained in:
Siddharth 2019-03-27 22:49:19 +05:30
parent 13ead635d9
commit ba2b09b034
2 changed files with 2 additions and 3 deletions

View file

@ -2417,9 +2417,7 @@ void TileSetEditor::draw_polygon_shapes() {
colors.push_back(c_bg);
}
}
if (polygon.size() == 0)
continue;
else if (polygon.size() > 2) {
if (polygon.size() > 2) {
workspace->draw_polygon(polygon, colors);
}