Skip to content
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

Make right click clear terrain paint in the new TileSet editor #3873

Closed
snailrhymer opened this issue Jan 26, 2022 · 2 comments · Fixed by godotengine/godot#65903
Closed

Comments

@snailrhymer
Copy link

Describe the project you are working on

Generic TileSet workflow, tidying up discussion in #1769.

Describe the problem or limitation you are having in your project

When painting terrain in the TileSet editor, a small mistake can take multiple clicks to correct, slowing the process down significantly.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

It will speed up the terrain painting process by preventing users form having to constantly switch to "No Terrain" to clear the terrain paint.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

When the user right clicks a square in the terrain painter, that square is set to "No terrain". Ideally, could click and drag etc with right click too.

If this enhancement will not be used often, can it be worked around with a few lines of script?

The user can select "No terrain" in the drop down menum make the changes they want and then reselect the terrain they were previously using.

Is there a reason why this should be core and not an add-on in the asset library?

Improves terrain painting workflow in almost all instances.

@KoBeWi
Copy link
Member

KoBeWi commented Jan 26, 2022

This was implemented for regular tiles here: godotengine/godot#51695
Terrains will probably have similar code.

@Calinou Calinou added this to the 4.0 milestone Jan 26, 2022
@Calinou Calinou changed the title Make right click clear terrain paint in TileSet editor Make right click clear terrain paint in the new TileSet editor Jan 26, 2022
@groud
Copy link
Member

groud commented Jan 26, 2022

Sounds reasonable. If I am not mistaking right-click isn't used for panning anymore so that could work.
I am not sure I implemented something like that but I suppose ctrl+click could also be used as a "terrain picker", that might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants