Changeset 3350 for code/branches/resource/src/core/TclBind.cc
- Timestamp:
- Jul 25, 2009, 9:46:24 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/resource/src/core/TclBind.cc
r3345 r3350 86 86 try 87 87 { 88 this->interpreter_->eval("proc query args { orxonox::query [join $args] }"); 89 this->interpreter_->eval("proc crossquery {id args} { orxonox::crossquery 0 $id [join $args] }"); 90 this->interpreter_->eval("proc crossexecute {id args} { orxonox::crossquery 0 $id [join $args] }"); 88 this->interpreter_->eval("proc query {args} { orxonox::query $args }"); 89 this->interpreter_->eval("proc crossquery {id args} { orxonox::crossquery 0 $id $args }"); 90 this->interpreter_->eval("proc crossexecute {id args} { orxonox::crossquery 0 $id $args }"); 91 this->interpreter_->eval("proc running {} { return 1 }"); 91 92 this->interpreter_->eval("set id 0"); 92 93 this->interpreter_->eval("rename exit tcl::exit; proc exit {} { execute exit }"); … … 105 106 Tcl::interpreter* interpreter; 106 107 #ifdef DEPENDENCY_PACKAGE_ENABLE 107 if ( true)//Core::isDevelopmentRun())108 if (Core::isDevelopmentRun()) 108 109 interpreter = new Tcl::interpreter(std::string(ORXONOX_DEP_LIB_PATH) + "/tcl"); 109 110 else
Note: See TracChangeset
for help on using the changeset viewer.