|
|
|
@ -420,6 +420,10 @@ void OMW::Engine::go()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void OMW::Engine::activate()
|
|
|
|
|
{
|
|
|
|
|
// TODO: This is only a workaround. The input dispatcher should catch any exceptions thrown inside
|
|
|
|
|
// the input handling functions. Looks like this will require an OpenEngine modification.
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|
std::string handle = mEnvironment.mWorld->getFacedHandle();
|
|
|
|
|
|
|
|
|
@ -453,6 +457,11 @@ void OMW::Engine::activate()
|
|
|
|
|
interpreterContext.executeActivation();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (const std::exception& e)
|
|
|
|
|
{
|
|
|
|
|
std::cerr << "Activation failed: " << e.what() << std::endl;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void OMW::Engine::setCompileAll (bool all)
|
|
|
|
|
{
|
|
|
|
|