now work.
Bug found by: Miljenko
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:
# Hack for comaptibility with old format files (no canvases)
#
if { $canvas_list == "" } {
- global curcanvas sizex sizey
-
set curcanvas [newCanvas ""]
foreach node $node_list {
setNodeCanvas $node $curcanvas
- set x [lindex [getNodeCoords $node] 0]
- set y [lindex [getNodeCoords $node] 1]
- if { $x > $sizex } {
- set sizex [expr $x + 32]
- }
- if { $y > $sizey } {
- set sizey [expr $y + 32]
- }
}
}