There was an error while loading. Please reload this page.
1 parent 6482403 commit 2f948e1Copy full SHA for 2f948e1
1 file changed
src/data_classes/ElementPolygon.gd
@@ -74,7 +74,7 @@ func get_replacement(new_element: String) -> Element:
74
commands.append(PathCommand.MoveCommand.new(list[0], list[1]))
75
for i in range(3, list.size(), 2):
76
commands.append(PathCommand.LineCommand.new(list[i - 1], list[i]))
77
- if list.size() > 5:
+ if list.size() > 3:
78
commands.append(PathCommand.CloseCommand.new())
79
element.set_attribute("d", commands)
80
apply_to(element, dropped_attributes)
0 commit comments