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

Method rewriteFile

Engine/KnobFile.cpp:132–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

onRewriteClickedMethod · 0.80

Calls 4

getCurrentTimeFunction · 0.85
ViewIdxClass · 0.70
purgeCachesMethod · 0.45

Tested by

no test coverage detected