ThatOpen / engine_web-ifc

Reading and writing IFC files with Javascript, at native speeds.
https://thatopen.github.io/engine_web-ifc/demo
Mozilla Public License 2.0
573 stars 170 forks source link

[Bug]: Hider not saving original colors for some elements #896

Closed MadsHolten closed 3 days ago

MadsHolten commented 4 days ago

What happened?

I'm using the Hider along with the Highlighter in a tiled model. When I reset the hider I have the problem that for some elements, the original color was not saved. Typically for windows that consist of multiple fragments/materials. The error originates from the Fragment class, but I suspect it is closer related to the tile loading.

If I ignore the thrown error, the result is that the hidden element re-appears, but with the highlight color.

Version

0.54

What browsers are you seeing the problem on?

Chrome

Relevant log output

Original color not found!

Anything else?

No response

MadsHolten commented 3 days ago

This should of course have been posted in engine_components. Will move it.