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

Elements 2.3 doesn't respect material color assignments #134

Closed
anthonyhauck opened this issue Apr 24, 2019 · 3 comments
Closed

Elements 2.3 doesn't respect material color assignments #134

anthonyhauck opened this issue Apr 24, 2019 · 3 comments
Assignees
Labels
Bug Something isn't working Geometry

Comments

@anthonyhauck
Copy link
Contributor

anthonyhauck commented Apr 24, 2019

Referencing Elements 2.3, this line of code adds a white cube to the model instead of a red one: model.AddElement(new Space(Polygon.Rectangle(100.0, 100.0, Vector3.Origin), 100.0, 0.0, new Material("", new Elements.Geometry.Color(1.0f, 0.0f, 0.0f, 1.0f))));

@anthonyhauck anthonyhauck added Bug Something isn't working Geometry labels Apr 24, 2019
@anthonyhauck
Copy link
Contributor Author

anthonyhauck commented Apr 24, 2019

Downgrade to Elements 2.2:
image

@ikeough
Copy link
Contributor

ikeough commented May 17, 2019

@hummingburd is this a duplicate of #138? If so, can we close?

@anthonyhauck
Copy link
Contributor Author

Yes. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Geometry
Projects
None yet
Development

No branches or pull requests

2 participants