Skip to content

Make colors of polygons reflect the color of the source object. #56

Description

@madhephaestus

It would be nice to have the color of a polygon withing a CSG object preserve the color of its source object through difference and union operations.

The storage of the Color needs to be moved from the storage object that is synced at the end of an op, and therefor obliterates one of the colors and replaces it with a single color.

@breiler attempted to fix the polygon color issue here: #54 but some operations still sync the storage and break the color.

To so this we need to make a Color object in the CSG, and pass a reference to it to the polygons when the color is set, but not when the CSG operations is called.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions