chandlerprall/Physijs — pull request #124 by Paraknight (2013-08-31 20:15:27+00:00)
Title: Fixed bug that causes crashes when removing objects from the scene.

When objects are added to a scene, *object.material._physijs* is checked to see if it is undefined (line 852). The same is not done when objects are removed which causes "Uncaught TypeError: Cannot read property 'id' of undefined" when *object.material._physijs* is indeed undefined. All I did was add the same check.