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

Comparing ray/src/rt/raycalls.c (file contents):
Revision 2.17 by greg, Sat Dec 12 05:20:10 2009 UTC vs.
Revision 2.19 by greg, Fri Feb 18 00:40:25 2011 UTC

# Line 94 | Line 94 | static const char      RCSid[] = "$Id$";
94  
95   #include  "ray.h"
96   #include  "source.h"
97 + #include  "bsdf.h"
98   #include  "ambient.h"
99   #include  "otypes.h"
100   #include  "random.h"
# Line 207 | Line 208 | ray_done(              /* free ray-tracing data */
208          octdone();
209          thescene.cutree = EMPTY;
210          octname = NULL;
211 +        retainfonts = 0;
212          if (freall) {
211                retainfonts = 0;
213                  freefont(NULL);
214                  freedata(NULL);
215 +                SDfreeCache(NULL);
216                  initurand(0);
217          }
218          if (nobjects > 0) {
219                  sprintf(errmsg, "%ld objects left after call to ray_done()",
220 <                                nobjects);
220 >                                (long)nobjects);
221                  error(WARNING, errmsg);
222          }
223   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines