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

Comparing ray/src/rt/RtraceSimulManager.h (file contents):
Revision 2.18 by greg, Tue Nov 19 20:39:40 2024 UTC vs.
Revision 2.19 by greg, Tue Nov 19 20:50:36 2024 UTC

# Line 140 | Line 140 | class RtraceSimulManager : public RadSimulManager { (p
140                                  }
141                                  /// Set/change trace callback
142          void                    SetTraceCall(RayReportCall *cb, void *cd = NULL) {
143 <                                        if (cb == traceCall) {
144 <                                                if (cb) tcData = cd;
145 <                                                return;
146 <                                        }
143 >                                        if ((cb == traceCall) & (cd == tcData)) return;
144                                          int     nt = NThreads();
145                                          if (nt > 1) SetThreadCount(1);
146                                          traceCall = cb;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines