Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 25, 2009, 9:46:24 PM (15 years ago)
Author:
landauf
Message:

small changes relating to tcl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/resource/src/core/TclBind.cc

    r3345 r3350  
    8686            try
    8787            {
    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 }");
    9192                this->interpreter_->eval("set id 0");
    9293                this->interpreter_->eval("rename exit tcl::exit; proc exit {} { execute exit }");
     
    105106        Tcl::interpreter* interpreter;
    106107#ifdef DEPENDENCY_PACKAGE_ENABLE
    107         if (true)//Core::isDevelopmentRun())
     108        if (Core::isDevelopmentRun())
    108109            interpreter = new Tcl::interpreter(std::string(ORXONOX_DEP_LIB_PATH) + "/tcl");
    109110        else
Note: See TracChangeset for help on using the changeset viewer.