Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7683


Ignore:
Timestamp:
Nov 30, 2010, 11:09:18 PM (14 years ago)
Author:
youngk
Message:

Tcl will now initialize properly on Mac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/data/tcl/init.tcl

    r5781 r7683  
    9999#set ::orxonox::mediapath [string range $filepath 0 [string last "/" $filepath]]
    100100set ::orxonox::mediapath [file dirname $filepath]
     101
     102if {![info exists auto_path]} {
     103   set auto_path [list]
     104}
     105
    101106if {[lsearch $auto_path $::orxonox::mediapath] == -1} {
    102107    lappend auto_path $::orxonox::mediapath
Note: See TracChangeset for help on using the changeset viewer.