sk1project / sk1-wx

sK1 2.0 cross-platform vector graphics editor
https://sk1project.net
GNU General Public License v3.0
289 stars 52 forks source link

Undo doesn't work after editing a polygon #296

Closed maxim-s-barabash closed 3 years ago

maxim-s-barabash commented 3 years ago
Traceback (most recent call last):
  File "/usr/lib/sk1-wx-2.0rc4/sk1/pwidgets/actions.py", line 131, in __call__
    self.callback()
  File "/usr/lib/sk1-wx-2.0rc4/sk1/app_proxy.py", line 259, in undo
    self.app.current_doc.api.do_undo()
  File "/usr/lib/sk1-wx-2.0rc4/sk1/document/api.py", line 47, in do_undo
    self._do_action(transaction)
  File "/usr/lib/sk1-wx-2.0rc4/sk1/document/api.py", line 74, in _do_action
    action[0](*action[1:])
TypeError: set_rect_corners() takes exactly 3 arguments (6 given)