@@ -85,6 +85,14 @@
scene.remove( mesh );
+ //
+
+ texture.deallocate();
+ mesh.deallocate();
+ mesh.geometry.deallocate();
+ mesh.material.deallocate();
renderer.deallocateObject( mesh );
renderer.deallocateTexture( texture );