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

Method reloadFile

Engine/KnobFile.cpp:68–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

onReloadClickedMethod · 0.45

Calls 4

getCurrentTimeFunction · 0.85
ViewIdxClass · 0.70
purgeCachesMethod · 0.45

Tested by

no test coverage detected