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

Method getThreadLocalRotoPaintTreeNodes

Engine/EffectInstance.cpp:324–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324bool
325EffectInstance::getThreadLocalRotoPaintTreeNodes(NodesList* nodes) const
326{
327 EffectTLSDataPtr tls = _imp->tlsData->getTLSData();
328
329 if (!tls) {
330 return false;
331 }
332 if ( tls->frameArgs.empty() ) {
333 return false;
334 }
335 *nodes = tls->frameArgs.back()->rotoPaintNodes;
336
337 return true;
338}
339
340void
341EffectInstance::setDuringPaintStrokeCreationThreadLocal(bool duringPaintStroke)

Callers 1

Calls 2

emptyMethod · 0.80
getTLSDataMethod · 0.45

Tested by

no test coverage detected