[Orxonox-commit 839] r3354 - branches/resource/src/core
landauf at orxonox.net
landauf at orxonox.net
Sun Jul 26 03:23:28 CEST 2009
Author: landauf
Date: 2009-07-26 03:23:27 +0200 (Sun, 26 Jul 2009)
New Revision: 3354
Modified:
branches/resource/src/core/TclBind.cc
Log:
fixed a scoping problem with the tcl console-command (due to a nested tcl-call)
Modified: branches/resource/src/core/TclBind.cc
===================================================================
--- branches/resource/src/core/TclBind.cc 2009-07-25 23:02:22 UTC (rev 3353)
+++ branches/resource/src/core/TclBind.cc 2009-07-26 01:23:27 UTC (rev 3354)
@@ -160,7 +160,7 @@
{
try
{
- std::string output = TclBind::getInstance().interpreter_->eval(tclcode);
+ std::string output = TclBind::getInstance().interpreter_->eval("uplevel #0 " + tclcode);
if (output != "")
{
COUT(0) << "tcl> " << output << std::endl;
More information about the Orxonox-commit
mailing list