Break this code into pieces so I can more easily tell where the periodic crash is coming from.
Fix for Z up
Fix token on hud rendering
Make receptacles solid.
Oops
Asserts to help me catch this weird crash.
Try loading materials from the materials folder, for materials common to many things.
Don't flip rendering in the workbench.
Don't reflect the move velocity since it's reflected on the fly, but do reflect the physics version since it's not.
Code for providing a default model by the savedata. Model savedata default now has a string instead of a number, and special conditions in the code support that. Not the best solution but works better than before anyway. Reworked savedata macros to be functions while I was at it, easier to debug.
Default model for tokens
Fix editor traces.
Use SetModel so that the vis bounds get set.
MoveOffset command moves an offset of the original position. Also rename Lerp to Move because it's clearer and a bit more accurate.
Guarantee that a class's parent will be registered before the class is.
Allow setting kinematic models.
Reset editor physics on reactivation. Also draw new objects, semitransparent.
Add some new entity types for the benefit of the editor.