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

Closing ColorPicker in the inspector always "modifies" the scene #40879

Closed
KoBeWi opened this issue Jul 30, 2020 · 1 comment · Fixed by #41002
Closed

Closing ColorPicker in the inspector always "modifies" the scene #40879

KoBeWi opened this issue Jul 30, 2020 · 1 comment · Fixed by #41002

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Jul 30, 2020

Godot version:

3.2.3 rc2

Steps to reproduce:

  1. Create a Node2D
  2. Click on modulate to change color
  3. Don't change anything, just press Escape
  4. Scene was modified, bruh

It's annoying when you want to check/copy some color and it produces fake unsaved changes.

@AlphaOneProject
Copy link
Contributor

Hello,
I made this pull request resolving this issue on my side.
Could you please tell me if it is what you wanted?

I'm still beginning so I'm quite likely to have made mistakes, even if I did my best to follow the guidelines.

AlphaOneProject added a commit to AlphaOneProject/godot that referenced this issue Aug 3, 2020
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: godotengine#40879
@akien-mga akien-mga added this to the 4.0 milestone Aug 11, 2020
akien-mga pushed a commit to akien-mga/godot that referenced this issue Aug 13, 2020
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: godotengine#40879
(cherry picked from commit f362636)
MarcusElg pushed a commit to MarcusElg/godot that referenced this issue Oct 19, 2020
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: godotengine#40879
huhund pushed a commit to huhund/godot that referenced this issue Nov 10, 2020
Editor now changes a color in the inspector only when it is different
from the current one.

Solves fake unsaved changes in editor after using the ColorPicker.

Resolves: godotengine#40879
(cherry picked from commit f362636)
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.

3 participants