Blender Git Commit Log

Git Commits -> Revision 9270c15

Revision 9270c15 by Sergey Sharybin (master)
July 26, 2019, 13:16 (GMT)
GPencil: Get current frame from scene

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.

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D5349

Commit Details:

Full Hash: 9270c15af8fc6b1fccf6dd6976f5bd0fe0342790
Parent Commit: ad18d33
Lines Changed: +38, -40

11 Modified Paths:

/source/blender/editors/gpencil/gpencil_add_monkey.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_add_stroke.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_brush.c (+4, -5) (Diff)
/source/blender/editors/gpencil/gpencil_convert.c (+6, -6) (Diff)
/source/blender/editors/gpencil/gpencil_data.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+10, -10) (Diff)
/source/blender/editors/gpencil/gpencil_interpolate.c (+4, -4) (Diff)
/source/blender/editors/gpencil/gpencil_merge.c (+2, -2) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+1, -1) (Diff)
/source/blender/editors/gpencil/gpencil_primitive.c (+3, -4) (Diff)
/source/blender/editors/gpencil/gpencil_select.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021