ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/x11image.c
(Generate patch)

Comparing ray/src/px/x11image.c (file contents):
Revision 2.50 by gregl, Thu Jul 31 21:00:57 1997 UTC vs.
Revision 2.51 by gwlarson, Mon Feb 9 14:37:09 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ SGI";
# Line 736 | Line 736 | XKeyPressedEvent  *ekey;
736          case 't':                               /* trace */
737                  return(traceray(ekey->x, ekey->y));
738          case 'a':                               /* auto exposure */
739 +                if (fname == NULL)
740 +                        return(-1);
741                  tmflags = TM_F_CAMERA;
742                  strcpy(buf, "auto exposure...");
743                  goto remap;
744          case 'h':                               /* human response */
745 +                if (fname == NULL)
746 +                        return(-1);
747                  tmflags = TM_F_HUMAN;
748                  strcpy(buf, "human exposure...");
749                  goto remap;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines