Commit | Line | Data |
---|---|---|
40093367 | 1 | if { [array get Draw_Groups "TOPOLOGY Check commands"] == "" } { |
2 | pload TOPTEST | |
3 | } | |
4 | if { [array get Draw_Groups "Shape Healing"] == "" } { | |
5 | pload XSDRAW | |
6 | } | |
7 | # To prevent loops limit to 5 minutes | |
8 | cpulimit 300 | |
9 | ||
10 | if {[string compare [datadir] "."] == 0} { | |
11 | datadir [file dirname [info script]]/data | |
12 | } | |
13 | ||
14 | if { [info exists imagedir] == 0 } { | |
15 | set imagedir . | |
16 | } | |
17 | ||
18 | if { [info exists test_image ] == 0 } { | |
19 | set test_image photo | |
20 | } | |
21 |