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

Method generateFileNameAtTime

Engine/KnobFile.cpp:163–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161}
162
163QString
164KnobOutputFile::generateFileNameAtTime(SequenceTime time,
165 ViewSpec view)
166{
167 std::vector<std::string> views;
168
169 if ( getHolder() && getHolder()->getApp() ) {
170 views = getHolder()->getApp()->getProject()->getProjectViewNames();
171 }
172 if ( !view.isViewIdx() ) {
173 view = ViewIdx(0);
174 }
175
176 return QString::fromUtf8( SequenceParsing::generateFileNameFromPattern(getValue( 0, ViewIdx(0) ), views, time, view).c_str() );
177}
178
179/***********************************KnobPath*****************************************/
180

Callers 2

getMethod · 0.80
checkEncoderCreatedMethod · 0.80

Calls 3

getProjectMethod · 0.80
ViewIdxClass · 0.70
getAppMethod · 0.45

Tested by

no test coverage detected