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

Editor: Remove Fix Color Maps script. #27033

Merged
merged 2 commits into from Oct 23, 2023
Merged

Editor: Remove Fix Color Maps script. #27033

merged 2 commits into from Oct 23, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 23, 2023

Related issue: #15903, #16148

Description

The Fix Color Maps menu item in the editor triggers a script that set the colorSpace property of all color textures in the scene to SRGBColorSpace. The script was intended to ensure "old" scenes use a more correct color space configuration.

Now that all loaders properly set color spaces and the editors UI also set the colorSpace property when a map is added, I think it's safe to remove the script from the editor. If someone relies on it, devs can use https://rawcdn.githack.com/mrdoob/three.js/r157/editor/index.html.

@mrdoob mrdoob added this to the r158 milestone Oct 23, 2023
@mrdoob mrdoob merged commit 7d4628d into mrdoob:dev Oct 23, 2023
19 checks passed
CITIZENDOT pushed a commit to CITIZENDOT/three.js that referenced this pull request Oct 25, 2023
* Editor: Remove `Fix Color Maps` script.

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

Successfully merging this pull request may close these issues.

None yet

2 participants