Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 19, 2010, 6:09:10 PM (14 years ago)
Author:
rgrieder
Message:

Using our own error handler (including the debugger) for Lua code executed through CEGUILuaFunctor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/core/GUIManager.cc

    r6749 r6763  
    133133        luaState_->setDefaultResourceInfo(this->rootFileInfo_);
    134134        scriptModule_.reset(new LuaScriptModule(luaState_->getInternalLuaState()));
     135        scriptModule_->setDefaultPCallErrorHandler(LuaState::ERROR_HANDLER_NAME);
    135136
    136137        // Create our own logger to specify the filepath
Note: See TracChangeset for help on using the changeset viewer.