Page 1 of 1

[Rseding91] [2.0.32] paint bucket tool in editor only highlights selection one time

Posted: Wed Feb 19, 2025 3:51 pm
by Twisted_Code
I.e. if I select the paint bucket tool, if I want to get a good idea of where I'll be painting, I better not remove my cursor before deciding to paint a given group of tiles. The selection won't come back even when trying to "refresh" the tool by switching to something else and back.
Expected behavior
tools, including this tool, should generally show the selected area as long as cursor is over it, even if the area has been shown and subsequently hidden by moving the cursor elsewhere
actual behavior
the selection will show initially, but go away "forever" (well, at least until you completely reload the editor starting at the main menu, I think?) if you move the cursor elsewhere
Repro steps
  1. Launch game into map editor
  2. Select Tiles > Paint Bucket (no other editing mode seems to have the paint bucket tool so I couldn't test that scope)
  3. Choose a tile that's different from the rest of the map (to make it easier to see the problem)
  4. move the cursor over different groups of tiles
  5. move the cursor back to one of the groups you've already "visited" with it
  6. bug occurs
Attachments
I've attached a log file from a fresh session in which I was able to reproduce the issue. I was going to share the log from the session I originally noticed the issue, but the game had been running... a while :D. Let me know if you'd like that one also or if the one is enough.
I've also attached a GIF which should be enough to demonstrate the basic problem (I did not demonstrate that it persists until reloading map editor, I figured that was easy to infer)

Edit: And I meant to say 2.0.32 in the thread title, which is now fixed at least for this initial post. I don't think 2.0.33 was on the release branch even, since steam had a chance to update while I was getting the log file.

Re: [Rseding91] [2.0.33] paint bucket tool in editor only highlights selection one time

Posted: Wed Feb 19, 2025 4:19 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.

Re: [Rseding91] [2.0.32] paint bucket tool in editor only highlights selection one time

Posted: Wed Feb 19, 2025 4:25 pm
by Twisted_Code
I've just discovered the same issue can occur with the "variation" tab of the tile editor tool. I'd hypothesize this will occur with any tool that requires selecting connected tiles.

Edit: although I see you've already replied having fixed the initial issue, so chances are you also fixed what I just discovered. Thanks Rseding! Unless otherwise stated, I'll consider this resolved.