react-planner icon indicating copy to clipboard operation
react-planner copied to clipboard

Sofa item do not work anymore

Open danilosalvati opened this issue 7 years ago • 1 comments

Threejs returns the following error... Texture marked for update but image is undefined

danilosalvati avatar Sep 04 '18 06:09 danilosalvati

the cause of the problem is three-memory-cleaner.js in the viewer3d i managed to fix the problem temporarly by removing those line from disposeMesh function : disposeMultimaterial(mesh.material); disposeMaterial(mesh.material); mesh.material = null;

but we lose the ability to clear the memory from unused textures i think it needs a condition that checks if the object matrial is loaded from a texture file image or not when disposing an object

nasriachref avatar Sep 24 '18 16:09 nasriachref