[Orxonox-commit 1039] r5759 - code/trunk/src/libraries/core
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Sep 21 21:17:02 CEST 2009
Author: rgrieder
Date: 2009-09-21 21:17:02 +0200 (Mon, 21 Sep 2009)
New Revision: 5759
Modified:
code/trunk/src/libraries/core/Core.cc
code/trunk/src/libraries/core/LuaState.cc
Log:
Fixed a small bug.
Modified: code/trunk/src/libraries/core/Core.cc
===================================================================
--- code/trunk/src/libraries/core/Core.cc 2009-09-20 21:48:52 UTC (rev 5758)
+++ code/trunk/src/libraries/core/Core.cc 2009-09-21 19:17:02 UTC (rev 5759)
@@ -195,13 +195,13 @@
/**
@brief
- Temporary sets the data path
+ Temporary sets the external data path
@param path
The new data path
*/
void tsetExternalDataPath(const std::string& path)
{
- dataPath_ = boost::filesystem::path(path);
+ externalDataPath_ = boost::filesystem::path(path);
}
void initializeRandomNumberGenerator()
Modified: code/trunk/src/libraries/core/LuaState.cc
===================================================================
--- code/trunk/src/libraries/core/LuaState.cc 2009-09-20 21:48:52 UTC (rev 5758)
+++ code/trunk/src/libraries/core/LuaState.cc 2009-09-21 19:17:02 UTC (rev 5759)
@@ -73,7 +73,7 @@
sourceFileInfo_->group = "General";
sourceFileInfo_->size = 0;
- // Push this pointer
+ // Push 'this' pointer
tolua_pushusertype(luaState_, static_cast<void*>(this), "orxonox::LuaState");
lua_setglobal(luaState_, "luaState");
More information about the Orxonox-commit
mailing list