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

Comparing ray/src/rt/RcontribSimulManager.cpp (file contents):
Revision 2.4 by greg, Fri Nov 1 16:17:33 2024 UTC vs.
Revision 2.5 by greg, Fri Nov 1 23:05:01 2024 UTC

# Line 148 | Line 148 | RcontribSimulManager::RctCall(RAY *r, void *cd)
148  
149          int                     bi = 0; // get bin index
150          if (mp->binv) {
151 <                worldfunc(RCCONTEXT, r);        // compute bin #
151 >                worldfunc(RCCONTEXT, r);
152                  set_eparams(mp->params);
153                  double          bval = evalue(mp->binv);
154                  if (bval <= -.5)
# Line 322 | Line 322 | RcontribSimulManager::PrepOutput()
322   {
323          if (!outList || !RtraceSimulManager::Ready()) {
324                  error(INTERNAL, "PrepOutput() called before octree & modifiers assigned");
325 +                return -1;
326 +        }
327 +        if (!cdsF) {
328 +                error(INTERNAL, "missing RdataShare constructor call (*cdsF)");
329                  return -1;
330          }
331          if (lu_doall(&modLUT, checkModExists, NULL) < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines