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

Method aboutToRestoreDefaultValues

Engine/EffectInstance.cpp:4883–4894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4881}
4882
4883void
4884EffectInstance::aboutToRestoreDefaultValues()
4885{
4886 ///Invalidate the cache by incrementing the age
4887 NodePtr node = getNode();
4888
4889 node->incrementKnobsAge();
4890
4891 if ( node->areKeyframesVisibleOnTimeline() ) {
4892 node->hideKeyframesFromTimeline(true);
4893 }
4894}
4895
4896/**
4897 * @brief Returns a pointer to the first non disabled upstream node.

Callers

nothing calls this directly

Calls 4

incrementKnobsAgeMethod · 0.80
getNodeFunction · 0.70

Tested by

no test coverage detected