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

Add save shortcut for text shader editor to prevent it propagating to scene #84064

Conversation

jsjtxietian
Copy link
Contributor

Fixes #84039

This is a pr for bug fix, I add other shortcuts in #84063

Copy link
Contributor

@YuriSizov YuriSizov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically the same as #79337.

@YuriSizov YuriSizov requested a review from KoBeWi October 27, 2023 17:07
@YuriSizov YuriSizov changed the title Add save shortcut for text shader editor to prevent it been propagated to scene Add save shortcut for text shader editor to prevent it propagating to scene Oct 27, 2023
@KoBeWi
Copy link
Member

KoBeWi commented Oct 27, 2023

Not really, that PR changed an existing shortcut, this PR adds a new one. We could add shortcuts to other menu items for consistency.

Also, now that ShaderEditor will take priority over scene saving, we should handle built-in shaders properly. Saving one should save the scene. Can be done in another PR probably.

@jsjtxietian
Copy link
Contributor Author

We could add shortcuts to other menu items for consistency.

That is partly done in #84063 , I will take a look if there are any more shortcuts can be added.

we should handle built-in shaders properly. Saving one should save the scene.

Ah yes! That needs some extra work probably in another PR.

@akien-mga akien-mga merged commit b096174 into godotengine:master Oct 28, 2023
15 checks passed
@akien-mga
Copy link
Member

Thanks!

@jsjtxietian jsjtxietian deleted the fix-save-in-text-shader-editor-pass-through branch October 28, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use ctrl+s in text shader editor to save shader file will save the above scene too
5 participants