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

Update the color of all polygons when setting the color to a CSG #55

Closed

Conversation

breiler
Copy link

@breiler breiler commented Aug 11, 2024

After an geometric operation the polygons in the CSG will retain its color information. This change will make it so that if a new color is set on the CSG it will overwrite the colors on all polygons.

Relates to issue #53

@madhephaestus
Copy link
Member

I added some code in another PR this morning for you to take a look at. It removes color from the synchronized properties and moves it to a stand alone variable. A reference to this color object is passed to each polygon when set, and then remains there through all the operations by removing the set color calls in the union and difference operations. Take a look at #57

@breiler breiler closed this Aug 11, 2024
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.

2 participants