react-planner
react-planner copied to clipboard
Sofa item do not work anymore
Threejs returns the following error...
Texture marked for update but image is undefined
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