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

Method updateThreadLocalRenderTime

Engine/EffectInstance.cpp:4634–4643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4632}
4633
4634void
4635EffectInstance::updateThreadLocalRenderTime(double time)
4636{
4637 if ( QThread::currentThread() != qApp->thread() ) {
4638 EffectTLSDataPtr tls = _imp->tlsData->getTLSData();
4639 if (tls && tls->currentRenderArgs.validArgs) {
4640 tls->currentRenderArgs.time = time;
4641 }
4642 }
4643}
4644
4645bool
4646EffectInstance::isDuringPaintStrokeCreationThreadLocal() const

Callers 1

timeLineGotoTimeMethod · 0.80

Calls 1

getTLSDataMethod · 0.45

Tested by

no test coverage detected