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

Method refreshAfterTimeChange

Engine/Knob.cpp:6012–6025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6010}
6011
6012void
6013KnobHolder::refreshAfterTimeChange(bool isPlayback,
6014 double time)
6015{
6016 assert( QThread::currentThread() == qApp->thread() );
6017 AppInstancePtr app = getApp();
6018 if ( !app || app->isGuiFrozen() ) {
6019 return;
6020 }
6021 for (std::size_t i = 0; i < _imp->knobs.size(); ++i) {
6022 _imp->knobs[i]->onTimeChanged(isPlayback, time);
6023 }
6024 refreshExtraStateAfterTimeChanged(isPlayback, time);
6025}
6026
6027void
6028KnobHolder::refreshAfterTimeChangeOnlyKnobsWithTimeEvaluation(double time)

Calls 4

getAppFunction · 0.85
isGuiFrozenMethod · 0.45
sizeMethod · 0.45
onTimeChangedMethod · 0.45

Tested by

no test coverage detected