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

Method refreshInstanceSpecificKnobsOnly

Engine/Knob.cpp:6038–6051  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6036}
6037
6038void
6039KnobHolder::refreshInstanceSpecificKnobsOnly(bool isPlayback,
6040 double time)
6041{
6042 assert( QThread::currentThread() == qApp->thread() );
6043 if ( !getApp() || getApp()->isGuiFrozen() ) {
6044 return;
6045 }
6046 for (U32 i = 0; i < _imp->knobs.size(); ++i) {
6047 if ( _imp->knobs[i]->isInstanceSpecific() ) {
6048 _imp->knobs[i]->onTimeChanged(isPlayback, time);
6049 }
6050 }
6051}
6052
6053KnobIPtr
6054KnobHolder::getKnobByName(const std::string & name) const

Callers 1

Calls 5

getAppFunction · 0.85
isInstanceSpecificMethod · 0.80
isGuiFrozenMethod · 0.45
sizeMethod · 0.45
onTimeChangedMethod · 0.45

Tested by

no test coverage detected