3D objects loosing texture after switching from 2D to 3D (2 times)
3D objects from catalog are loosing texture when you switch from 2D to 3D mode 2 times.
Reproduction:
Add e.g Kitchen from catalog to 2D plan Switch to 3D (everything is ok) Switch to 2D Switch to 3D ( Kitchen is 'grey' untextured)
Following scenario you can reproduce on any Catalog element with textures
Thanks for reporting, we are working on it
it's because of "three-memory-cleaner.js" of the function disposeMesh();
when disposing the mesh it removes the texture from memory so in your case you have 2 options
opt1:
remove this lines :
if(cached3DWindow) { return Promise.resolve(onLoadItem(cached3DWindow.clone())); }
opt2 : in three-memory-cleaner.js remove the lines that dispose the material in disposeMesh(mesh) function