EsotericSoftware / spine-editor

Issue tracking for the Spine editor.
http://esotericsoftware.com/
28 stars 2 forks source link

If the difference is too small, the selected vertex or edge will be deselected automatically. #796

Closed misaki-eymard closed 1 month ago

misaki-eymard commented 1 month ago

Description: When changing the position of a mesh vertex or edge using the Rotate or Translate tools, if the change is very small, the selection is automatically deselected. This happens in both Setup and Animate modes. (In the case of Translate, this only happens when using the X/Y direction arrows.) This can be annoying when fine-tuning the position of mesh vertices.

Expected behavior: Even if the position of a mesh vertex or edge is changed using the Rotate or Translate tools, the original selection state is retained unless the user intentionally deselects or changes it.

Steps to reproduce:

  1. Open the spineboy-pro.spine.
  2. Select the head mesh attachment.
  3. After selecting the Translate tool, zoom in as close as possible, select any vertex or edge and drag the green or red arrow slightly.
  4. You will notice that the vertex or edge selection has been deselected.

https://github.com/EsotericSoftware/spine-editor/assets/85478846/5cbd3312-c4ae-4830-b56a-a60bf61e6e24

Workaround: When moving the position of a vertex or edge using the Translate tool, clicking and dragging the top of the vertex does not deselect it.

The version of Spine in which this issue was found: Spine 4.2.29

This issue was reported on the following thread https://esotericsoftware.com/forum/d/26313-mesh-vertices-or-edges-deselect-after-small-precise-translation

NathanSweet commented 1 month ago

4.2.30