semantic-segmentation-editor icon indicating copy to clipboard operation
semantic-segmentation-editor copied to clipboard

Undo/redo fails when used during the creation of a polygon

Open tkm-n opened this issue 3 years ago • 5 comments

Hi, thank you for developing such a great tool. But I have encountered a problem. As I have written in title, the layers which already set for each label sometimes can be reset suddenly (reset means to go to background layer). Do you know why it happens? Also, can I change the layer of multiple labels at the same time? Thanks,

tkm-n avatar Apr 02 '21 21:04 tkm-n

Thanks! Unfortunately it's difficult to figure out what's going on about the reset of your labelling layer. For your second question, you can't change the layer of multiple labels at the same time because it's not possible to select multiple polygons.

dmandrioli avatar Apr 02 '21 21:04 dmandrioli

Thanks, I understand. In terms of my first question, I could reproduce it. When I want to add a new label on/around the labels already exist using rectangle tool or polygon tool, it sometimes results to add some vertices to the label already exists. At that time, the number of the object on the status bar doesn't increase but the number of the points increases. Then, at that time, if you hit Undo button, all labels go to background layer. If you can reproduce it, it would be great if you could modify it.

tkm-n avatar Apr 02 '21 22:04 tkm-n

Thanks for this clear explanation, I just reproduced your problem easily. And I already know how I will fix it :) I will disable undo/redo during creation of a new polygon as it does not really make sense. Actually to remove the last point(s) of a polygon you are creating, you can press ESC. Hope this helps and thanks for reporting.

dmandrioli avatar Apr 02 '21 22:04 dmandrioli

I see, thanks!

tkm-n avatar Apr 02 '21 22:04 tkm-n

Reopening to track the bug fix.

dmandrioli avatar Apr 03 '21 08:04 dmandrioli