ThatOpen / web-ifc-three

The official IFC Loader for Three.js.
https://ifcjs.github.io/info/
MIT License
506 stars 132 forks source link

await ifcLoader.ifcManager.dispose(); is not found. #90

Open Feldspatt opened 2 years ago

Feldspatt commented 2 years ago

While reading the ifc three memory managment section ("https://ifcjs.github.io/info/docs/Guide/web-ifc-three/Tutorials/Memory"), I tried to implement the ifcLoader.ifcManager.dispose(); function, but it wasn't recongnized. However there is a disposeMemory() function. Could it be the same function, renamed? If so the documentation doesn't reflect it. I might also be doing something wrong on my side.

Keep up the good work :)

axelra82 commented 2 years ago

I'm using ifcManager?.dispose(); and that's showing up fine on

"web-ifc-three": "^0.0.116"

which in turn has the dependencies

"three": "^0.135.0",
"three-mesh-bvh": "^0.5.2",
"web-ifc": "^0.0.33"

Are you running on latest versions?

aka-blackboots commented 1 year ago

@Feldspatt, any update? Were you able to make use of dispose()? If you are still experiencing this problem, let us know and we will create a bounty to resolve it!