MCPcopy Create free account
hub / github.com/MrKepzie/Natron / quitAnyProcessingInternal

Method quitAnyProcessingInternal

Engine/NodeGroup.cpp:255–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void
256NodeCollection::quitAnyProcessingInternal(bool blocking)
257{
258 NodesList nodes = getNodes();
259
260 for (NodesList::iterator it = nodes.begin(); it != nodes.end(); ++it) {
261 if (blocking) {
262 (*it)->quitAnyProcessing_blocking(true);
263 } else {
264 (*it)->quitAnyProcessing_non_blocking();
265 }
266 NodeGroup* isGrp = (*it)->isEffectGroup();
267 if (isGrp) {
268 isGrp->quitAnyProcessingInternal(blocking);
269 }
270 PrecompNode* isPrecomp = dynamic_cast<PrecompNode*>( (*it)->getEffectInstance().get() );
271 if (isPrecomp) {
272 isPrecomp->getPrecompApp()->getProject()->quitAnyProcessingInternal(blocking);
273 }
274 }
275}
276
277void
278NodeCollection::quitAnyProcessingForAllNodes_blocking()

Callers

nothing calls this directly

Calls 8

getEffectInstanceMethod · 0.80
getProjectMethod · 0.80
getPrecompAppMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected