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

Prevent dropping Resource to the same resource picker #90278

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

KoBeWi
Copy link
Member

@KoBeWi KoBeWi commented Apr 5, 2024

It's possible to drag a resource from EditorResourcePicker in the inspector to the same picker, resulting in useless set and undo action. I discovered it when I accidentally dragged a resource while trying to click it. This PR prevents that.

@akien-mga akien-mga merged commit 92afd2c into godotengine:master Apr 6, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@KoBeWi KoBeWi deleted the self_dropping_resources branch April 6, 2024 12:15
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