Changeset 942 for trunk/plugins/complex.tcl
- Timestamp:
- 03/07/2008 04:41:53 (5 months ago)
- Files:
-
- 1 modified
-
trunk/plugins/complex.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/complex.tcl
r744 r942 1 1 ## bMotion plugins loader: complex 2 #3 # $Id$4 2 # 5 3 6 4 ############################################################################### 7 # This is a bMotion plugin8 # Copyright (C) James Michael Seward 2000-200 25 # This is a bMotion module 6 # Copyright (C) James Michael Seward 2000-2008 9 7 # 10 8 # This program is covered by the GPL, please refer the to LICENCE file in the … … 15 13 set currentlang $bMotionInfo(language) 16 14 set languages [split $bMotionSettings(languages) ","] 15 17 16 foreach bMotion_language $languages { 18 set bMotionInfo(language) $bMotion_language 19 bMotion_putloglev 2 * "bMotion: loading complex plugins language = $bMotion_language" 20 set files [glob -nocomplain "$bMotionPlugins/$bMotion_language/complex_*.tcl"] 21 foreach f $files { 17 set bMotionInfo(language) $bMotion_language 18 bMotion_putloglev 2 * "bMotion: loading complex plugins language = $bMotion_language" 19 set files [glob -nocomplain "$bMotionPlugins/$bMotion_language/complex_*.tcl"] 20 21 foreach f $files { 22 22 set count [llength [array names bMotion_plugins_complex]] 23 23 set bMotion_noplugins 0 24 bMotion_putloglev 1 * "bMotion: loading ($bMotion_language) complex plugin file $f"25 catch {26 source $f27 } err24 bMotion_putloglev 1 * "bMotion: loading ($bMotion_language) complex plugin file $f" 25 catch { 26 source $f 27 } err 28 28 set newcount [llength [array names bMotion_plugins_complex]] 29 29 if {($bMotion_testing == 0) && ($newcount == $count) && ($bMotion_noplugins == 0)} { … … 31 31 putlog "Possible error: $err" 32 32 } 33 }33 } 34 34 } 35 35 36 set bMotionInfo(language) $currentlang 36 37 unset currentlang
