ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/do_scene.tcl
(Generate patch)

Comparing ray/src/util/do_scene.tcl (file contents):
Revision 2.1 by greg, Wed Sep 13 14:51:01 1995 UTC vs.
Revision 2.5 by greg, Fri Jun 1 22:55:14 2012 UTC

# Line 1 | Line 1
1 < # SCCSid "$SunId$ LBL"
1 > # RCSid: $Id$
2   #
3   # Track octree and scene files
4   #
5  
6 set myglob(materials) *.mat
7 set myglob(illum) *.rad
8 set myglob(scene) *.rad
9 set myglob(objects) *
10
6   proc newfent f {                # add file to our list
7          global rifname radvar mybox myvar
8          set rd [file dirname $rifname]
# Line 39 | Line 34 | proc lbgetf nm {               # get list box files
34  
35   proc oct_delete {} {            # delete octree file
36          global radvar curmess
37 <        if {"$radvar(OCTREE)" == {} || ! [file exists $radvar(OCTREE)]} {
37 >        if {"$radvar(OCTREE)" == {} || ! [file isfile $radvar(OCTREE)]} {
38                  set curmess {No octree file.}
39                  return
40          }
# Line 221 | Line 216 | proc do_scene w {              # Create scene screen
216                          -anchor se
217          helplink $w.revert trad scene revert
218          button $w.copy -text Copy -relief raised -command {getfile -grab \
219 <                        -send copyscene -view view_txt -glob $rif_glob}
219 >                        -send copyscene -view view_txt -glob $myglob(rif)}
220          place $w.copy -relwidth .1071 -relheight .0610 -relx .98 -rely .90 \
221                          -anchor se
222          helplink $w.copy trad scene copy

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines