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 Create Image from Clipboard to FileSystem dock #79966

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Jul 27, 2023

godot.windows.editor.dev.x86_64_SfyBFqBJVe.mp4

For now it hacks on top of duplicate dialog.
I plan to rework that dialog once #78744 is merged.

btw I also considered adding this functionality to EditorResourcePicker, but the problem is that it would make the texture embedded by default, which is not ideal.

@torcado194
Copy link

Wonderful! I would love to see this feature built-in.

This is actually the first feature I made as a godot plugin:

sx-946

Would it be possible to bind this action to Ctrl+V?
I would also love if there was an additional option to replace the currently selected image with the clipboard image. I have this bound to Ctrl+Shift+V in my plugin, I probably use it more often than the basic paste.

@KoBeWi
Copy link
Member Author

KoBeWi commented Jul 28, 2023

I just wanted to add a basic functionality after we got the new clipboard feature. It can later be expanded upon.
The PR is somewhat consistent with how filesystem dock works (simply adds another Create New option), while what you suggest does not really have precedent and requires more discussion.

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.

3 participants