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

Method rewriteFile

Engine/KnobFile.cpp:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131
132
133void
134KnobOutputFile::rewriteFile()
135{
136 assert( getHolder() );
137 EffectInstance* effect = dynamic_cast<EffectInstance*>( getHolder() );
138 if (effect) {
139 effect->purgeCaches();
140 effect->clearPersistentMessage(false);
141 }
142 evaluateValueChange(0, getCurrentTime(), ViewIdx(0), eValueChangedReasonNatronInternalEdited);
143}
144
145bool
146KnobOutputFile::canAnimate() const

Callers 1

onRewriteClickedMethod · 0.80

Calls 4

getCurrentTimeFunction · 0.85
ViewIdxClass · 0.70
purgeCachesMethod · 0.45

Tested by

no test coverage detected