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

Method timelineStepOne

Engine/OutputSchedulerThread.cpp:2489–2499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2487} // DefaultScheduler::processFrame
2488
2489void
2490DefaultScheduler::timelineStepOne(RenderDirectionEnum direction)
2491{
2492 QMutexLocker k(&_currentTimeMutex);
2493
2494 if (direction == eRenderDirectionForward) {
2495 ++_currentTime;
2496 } else {
2497 --_currentTime;
2498 }
2499}
2500
2501void
2502DefaultScheduler::timelineGoTo(int time)

Callers

nothing calls this directly

Calls 4

incrementCurrentFrameMethod · 0.80
decrementCurrentFrameMethod · 0.80
lockMethod · 0.45
getTimelineMethod · 0.45

Tested by

no test coverage detected