You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigating my last comment a bit: setting a breakpoint in Xcode for exceptions being thrown and caught, I think I see what's happening.
FileSystem::openFile is throwing a FileSystemException when being asked to load flashlight.mdl
The stack trace looks OK down to EntityModelManager::model(const IO::Path&), which is going to rethrow a GameException. The next stack frames down the stack, EntityModelManager::renderer, EntityModelRenderer::updateEntity, andEntityModelRenderer::updateEntities do not handle the GameException. The exception is caught in CommandProcessor::doCommand, but I am assuming by this point the application is in an invalid state.
My guess is EntityModelManager::model(const IO::Path&) should return NULL at EntityModelManager.cpp:92 instead of rethrowing the GameException. Quickly testing this, it seems to fix the quoth flashlight issue as well as ad_magna.map
ericwa
added a commit
to ericwa/TrenchBroom
that referenced
this issue
Dec 7, 2016
This may be a duplicate of #1522 but my stack trace / explanation are a bit different.
Tested on a debug build of 6156a72 and macOS 10.12.
ad_quake.fgd
The text was updated successfully, but these errors were encountered: