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

Method reloadFile

Engine/KnobFile.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void
70KnobFile::reloadFile()
71{
72 assert( getHolder() );
73 EffectInstance* effect = dynamic_cast<EffectInstance*>( getHolder() );
74 if (effect) {
75 effect->purgeCaches();
76 effect->clearPersistentMessage(false);
77 }
78 evaluateValueChange(0, getCurrentTime(), ViewIdx(0), eValueChangedReasonNatronInternalEdited);
79}
80
81bool
82KnobFile::canAnimate() const

Callers 2

onReloadClickedMethod · 0.45

Calls 4

getCurrentTimeFunction · 0.85
ViewIdxClass · 0.70
purgeCachesMethod · 0.45

Tested by

no test coverage detected