Open MichaelBelousov opened 1 year ago
I have confirmed that this is because several json properties are not tracked by the transformer. I have added a tool to the test-app to detect them, ran it on the house_model, and am now able to find several. Can use it as a starting point to add better support for tracking known json properties in the transformer.
@fatalstar I wanna apologize for how long this is taking. I had to shift focus to general transformation performance issues. I did work on this, but am yet to complete it. If you want me to give you a special monkey patch for iTwin.js to fix this, let me know. I will get back to this, I am just considering the other work higher priority.
Copied from https://github.com/iTwin/itwinjs-core/issues/5307, original issue posted by @fatalstar
Describe the bug I try to transform a SnapshotDb to another, but materials lost. And then, I try to transform it to an empty SnapshotDb,materials get lost and error.
To Reproduce Steps to reproduce the behavior:
Expected behavior Materials exist and be correct.
Screenshots The house.bim view :
The result.bim view: (materials get lost)
If transform to an empty db, and view: (roof material lost, wall and steps meterial error)
Desktop (please complete the applicable information):