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

Method aboutToRestoreDefaultValues

Engine/EffectInstance.cpp:4829–4840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4827}
4828
4829void
4830EffectInstance::aboutToRestoreDefaultValues()
4831{
4832 ///Invalidate the cache by incrementing the age
4833 NodePtr node = getNode();
4834
4835 node->incrementKnobsAge();
4836
4837 if ( node->areKeyframesVisibleOnTimeline() ) {
4838 node->hideKeyframesFromTimeline(true);
4839 }
4840}
4841
4842/**
4843 * @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