What's changed?
Previously if AVALON_DEBUG was set to True the Loader and Scene Inventory would use the first project found in the database instead of the current active project.
This PR removes this behavior. It also adds overwriting the sys.excepthook for the Scene Inventory when in debug mode. This should prevent crashing the host when there is an error in the code. This was already in the Loader.
What's changed? Previously if
AVALON_DEBUG
was set toTrue
the Loader and Scene Inventory would use the first project found in the database instead of the current active project. This PR removes this behavior. It also adds overwriting thesys.excepthook
for the Scene Inventory when in debug mode. This should prevent crashing the host when there is an error in the code. This was already in the Loader.