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

Method updateHasAnimation

Engine/Knob.cpp:6361–6378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6359}
6360
6361void
6362KnobHolder::updateHasAnimation()
6363{
6364 bool hasAnimation = false;
6365 {
6366 QMutexLocker l(&_imp->knobsMutex);
6367
6368 for (KnobsVec::const_iterator it = _imp->knobs.begin(); it != _imp->knobs.end(); ++it) {
6369 if ( (*it)->hasAnimation() ) {
6370 hasAnimation = true;
6371 break;
6372 }
6373 }
6374 }
6375 QMutexLocker k(&_imp->hasAnimationMutex);
6376
6377 _imp->hasAnimation = hasAnimation;
6378}
6379
6380/***************************STRING ANIMATION******************************************/
6381void

Callers 8

cloneMethod · 0.80
cloneAndUpdateGuiMethod · 0.80
deleteValuesAtTimeMethod · 0.80
deleteValueAtTimeMethod · 0.80
expressionChangedMethod · 0.80

Calls 3

hasAnimationMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected