Page MenuHome

GPencil: Get current frame from scene

Authored by Sergey Sharybin (sergey) on Fri, Jul 26, 2:15 PM.



This change makes it so current frame is queried from a scene rather
than from a dependency graph. This makes it possible to avoid the
fact that dependency graph might not be fully evaluated yet.

There are still some cases where it frame is queried from the graph,
but those seems to be in a code path where we need to ensure valid
dependency graph anyway.

Diff Detail

rB Blender

Event Timeline

Right, operators like these should be looking at original data, not the depsgraph.

This revision is now accepted and ready to land.Fri, Jul 26, 3:02 PM
This revision was automatically updated to reflect the committed changes.