-
-
Notifications
You must be signed in to change notification settings - Fork 22.7k
Fix: Tilemap tools not overriding main editor tools #107843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Fix: Tilemap tools not overriding main editor tools #107843
Conversation
Removed the "bug" label as this is the intended behavior. I am not sure about this change, I'd like the proposal to be backed a bit more, as the other tools can be useful even if the TileMap editor is visible. Those other tools are more specific than the "select" one, which make me think when you change to them, then you know what you are doing and expect them to work right away. |
The scenario I was considering was this: |
hmm. I guess it makes sense then. If it still allows you to use the tools afterward I guess it could work. I wonder if it's still good though, there might be some users who you like, for example, the "move" tool to stay active when selecting nodes one after the other in the scene tree. And the fact we would introduce this new behavior (about selecting a node possibly auto-switching the tool) might be a bit confusing and annoying for some. That being said, switching to select mode when clicking a tool in the tilemap bottom toolbar makes perfect sense. I think it might deserve either a dedicated function though, or simply |
40afacf
to
3482e43
Compare
I updated the code, now it should be cleaner and work better. Additionally, it keeps track of the previously selected tool, so whenever
Note In my tests, the mouse entered does not always work |
3482e43
to
aa96ae3
Compare
Closes godotengine/godot-proposals#12646