# | Line 145 | Line 145 | class RtraceSimulManager : public RadSimulManager { (p | |
---|---|---|
145 | if (nt > 1) SetThreadCount(1); | |
146 | traceCall = cb; | |
147 | tcData = cb ? cd : NULL; | |
148 | + | UpdateMode(); |
149 | if (nt > 1) SetThreadCount(nt); | |
149 | – | } |
150 | – | /// Are we ready? |
151 | – | bool Ready() const { |
152 | – | return (cookedCall != NULL) | (traceCall != NULL) && |
153 | – | RadSimulManager::Ready(); |
150 | } | |
151 | /// Finish pending rays and complete callbacks (return #sent) | |
152 | int FlushQueue(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |