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

Method onNodeHashChanged

Engine/EffectInstance.cpp:5117–5129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5115}
5116
5117void
5118EffectInstance::onNodeHashChanged(U64 hash)
5119{
5120 ///Invalidate actions cache
5121 _imp->actionsCache->invalidateAll(hash);
5122
5123 const KnobsVec & knobs = getKnobs();
5124 for (KnobsVec::const_iterator it = knobs.begin(); it != knobs.end(); ++it) {
5125 for (int i = 0; i < (*it)->getDimension(); ++i) {
5126 (*it)->clearExpressionsResults(i);
5127 }
5128 }
5129}
5130
5131bool
5132EffectInstance::canSetValue() const

Callers 1

computeHashInternalMethod · 0.80

Calls 5

invalidateAllMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
getDimensionMethod · 0.45

Tested by

no test coverage detected