Changeset 2892 for code/branches/gui
- Timestamp:
- Apr 5, 2009, 11:26:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/gui/GUIManager.cc
r2887 r2892 230 230 void GUIManager::executeCode(const std::string& str) 231 231 { 232 this->scriptModule_->executeString(str); 232 try 233 { 234 this->scriptModule_->executeString(str); 235 } 236 catch (CEGUI::Exception& ex) 237 { 238 COUT(2) << "CEGUI Error: \"" << ex.getMessage() << "\" while executing code \"" << str << "\"" << std::endl; 239 } 233 240 } 234 241
Note: See TracChangeset
for help on using the changeset viewer.