skarasuko

Wondering if this can be made in Spine. I tend to run out of window space when adjusting the vertices' Weights, therefore stopping the Weight addition.
skarasuko
  • Postovi: 109

Misaki

Unfortunately, there is no option to stop the mouse action when adjusting weights. However, your opinion sounds interesting to me.
Let me make sure. Does the problem you're describing occur when Direct mode is selected? Do you mean that unintended weight adjustments will occur due to the mouse behavior?
Avatar
Misaki

Misaki
  • Postovi: 669

skarasuko

Direct mode is selected and so far no unintended behavior.
skarasuko
  • Postovi: 109

Misaki

Thank you for your reply. However, I couldn't figure out why you wanted the mouse cursor to stop moving. Are you having trouble with something else, not the Weights go wrong?
Avatar
Misaki

Misaki
  • Postovi: 669

Nick

I guess what skarasuko mean is that when we dragging a value, say x,y of translation, from the input field instead of typing an exact value, the drag will actually move the mouse cursor. When the mouse cursor reached the edge of the screen, it can no longer be dragged and the program also stop increasing / decreasing the value. if the drag-to-adjust action don't move the mouse cursor, it can drag more than the mouse can travel within the screen space.

It brother me sometimes too because the UI is placed at the bottom and when I try to decrease a value dragging the cursor downward but limited by the bottom edge of the screen.
Nick
  • Postovi: 297

Misaki

@Nick Ah, it makes sense! In that case, dragging left or right the value for each translation may be comfortable instead of dragging up or down. Dragging to the left will decrease the value, dragging to the right will increase it.

You can choose the position of the main toolbar from Left, Right, or Center in the Spine Settings:
Settings - Spine User Guide: Toolbar position

As for the weights, dragging the mouse to increase or decrease the value limits the direction to up or down, but you can start the increase or decrease movement from anywhere in the viewport. So, it is rare that we run out of space... but is this the problem you are facing? @skarasuko
Avatar
Misaki

Misaki
  • Postovi: 669

skarasuko

The issue is like Nick said.

I work on detailed meshes frequently, so I need to use up most of the window while zoomed to the mesh. I don't want to zoom out all the time if I find the space inadequate to work with.
skarasuko
  • Postovi: 109

Erika

When that happens to me, I prefer to use the slider in the weights view instead, I find it more comfortable and the direct input option makes it precise and fast.
Personally I only click and drag for small changes.
Avatar
Erika

Erikari
  • Postovi: 3068

Misaki

@skarasuko To begin from the conclusion, I think it would be good for you to try the method that Erika wrote above.

Honestly, even after reading your reply, I’m not sure the reason why you are having trouble with that. Even if you zoomed in on your mesh closely, you could still adjust the weights by clicking and dragging the mouse on the viewport after selecting the vertices. It is not limited to empty space on the viewport, and it does not matter if the image on it.
Also, zooming does not affect the change volume of the weight adjustment when dragging the mouse, it is always a constant amount relative to the size of the window, so I don't think the zoom level makes it hard to adjust the weights with the mouse.
So I guess that there is something you are misunderstanding about the operation, but in any case, I think what Erika wrote would be the solution.
Avatar
Misaki

Misaki
  • Postovi: 669

skarasuko

@Erika I considered the slider in the Toolbar, but it has its disadvantage. Sometimes I multi-select vertices for Weight adjustment, and the slider applies a manual value of a Weight, instead of gradually increasing from the original value.

Like I said, I work on detailed meshes. I would rather not try to find a clear space to adjust the Weights while trying to avoid clicking on other vertices.
skarasuko
  • Postovi: 109

Misaki

Ah, it makes sense! You are concerned that sometimes you unintentionally click on different vertices when you want to adjust the weights. However, the slider in the Weight view can be adjusted not only by the slider box, but also you can drag the value box. If you click on the value box, the current value will be the starting value. Wouldn't this be a solution to your problem?
dragging_the_value_on_weight_view.gif
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
Avatar
Misaki

Misaki
  • Postovi: 669

skarasuko

Actually, there was something strange with using the box, which is why I avoided it. After using it, the Weights still is applied when I hit the Undo command. Also, the starting value is completely reset when adjusting weights for multiple vertices.

Even if it's fixed, it's still not as convenient and you can't increase the value a lot with so little window space above.

Anyways, I already expressed my QOL suggestion for the cursor behavior. It would make it easier for me work on the individual Weights that need fine-tuning. I simply want to know if this would be easy or not to implement in an update.
skarasuko
  • Postovi: 109

Misaki

Actually, there was something strange with using the box, which is why I avoided it. After using it, the Weights still is applied when I hit the Undo command. Also, the starting value is completely reset when adjusting weights for multiple vertices.
Sorry I missed the bug. I’ve confirmed it can be reproduced and I created an issue for this: https://github.com/EsotericSoftware/spine-editor/issues/626
Even if it's fixed, it's still not as convenient and you can't increase the value a lot with so little window space above.
As I mentioned earlier in my reply to Nick, you can also increase or decrease the value by dragging it left or right.
Anyways, I already expressed my QOL suggestion for the cursor behavior. It would make it easier for me work on the individual Weights that need fine-tuning. I simply want to know if this would be easy or not to implement in an update.
Since there are various issues of enhancements in our roadmap, it might take a long time even a simple updating. Therefore, we are suggesting ways to improve your workflow immediately, preferably with the current features.
Anyway, this doesn't seem to be just a Weights issue, so I will discuss this in the Spine team as an issue of mouse dragging behavior in general. We appreciate you giving us your valuable input!

---

Sorry for the delay in reporting. The undo issue after dragging the weight text field in Weights view has been fixed in 4.1.15-beta.
Avatar
Misaki

Misaki
  • Postovi: 669

Nick

As I mentioned earlier in my reply to Nick, you can also increase or decrease the value by dragging it left or right.
@Misaki

Sorry to interrupt. Just want to add that It is not working by dragging Left/Right when I am trying it out on the Translate/Rotate/Scale text fields, only vertical drag has effect.
Nick
  • Postovi: 297

Misaki

@Nick
Sorry I didn't mention the Spine version. You are probably using 3.8 or earlier, but left/right dragging has been enabled since 4.0. Since we were talking about improvement, I was referring to the latest version.
Avatar
Misaki

Misaki
  • Postovi: 669

Nick

Misaki je napisao/la:Sorry I didn't mention the Spine version. You are probably using 3.8 or earlier, but left/right dragging has been enabled since 4.0. Since we were talking about improvement, I was referring to the latest version.
Does that mean this improvement got removed from 4.1? :rolleyes:

Spine_4.1_dragging.gif


Btw, there is a chance that the drag does not get detected like you see in the video above. (Nope. my mouse is not broken)
Nemaš dopuštenje za pregledavanje privit(a)ka dodan(og)ih postu.
Nick
  • Postovi: 297

Misaki

Does that mean this improvement got removed from 4.1?
No, the value change by dragging left/right has not been removed. The reason why you could not change the value is because the axis on which you can increase or decrease the value is fixed in the direction you first started dragging. In the animated gif you posted, you started dragging upward first. In this case, the axis is fixed to up or down. Please try dragging it to the left or right immediately after clicking on the text field. Then you should be able to change the value by dragging left or right. I have confirmed that this behavior is fine in 4.1.16-beta.
Avatar
Misaki

Misaki
  • Postovi: 669

Nick

Misaki je napisao/la: The reason why you could not change the value is because the axis on which you can increase or decrease the value is fixed in the direction you first started dragging.
Ah I finally understand now. Thanks
Nick
  • Postovi: 297

Misaki

No problem! Thanks for getting back to us :)
Avatar
Misaki

Misaki
  • Postovi: 669


Natrag na Editor