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

Method quitAnyProcessingInternal

Engine/NodeGroup.cpp:257–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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