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

Comparing ray/src/util/trad.wsh (file contents):
Revision 2.12 by greg, Thu Oct 5 13:16:22 1995 UTC vs.
Revision 2.13 by greg, Tue Oct 17 21:28:21 1995 UTC

# Line 176 | Line 176 | if {[llength $argv] == 0} {
176   } elseif {[llength $argv] == 1} {
177          cd [file dirname $argv]
178          set curfile [file tail $argv]
179 <        if {! [file exists $curfile]} {
180 <                newnew $curfile
181 <                .scene invoke
179 >        if {! [file isfile $curfile]} {
180 >                if [newnew $curfile] {
181 >                        .scene invoke
182 >                } else {
183 >                        .file invoke
184 >                }
185          } elseif {[newload $curfile]} {
186                  if $alldone {
187                          set curmess "All renderings are finished."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines