diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 17:05:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-02 17:14:54 +0300 |
commit | 47239b40419750f0ad8284ba1de1012a638660fb (patch) | |
tree | f30d71f14eba9dc25fb1362f3fd27902ff232da4 /source/blender/editors/gpencil/gpencil_utils.c | |
parent | 22855f1a60e381d67872e51ed770f67b8417d024 (diff) |
Cleanup: use depsgraph for scene/layer access
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_utils.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 9ed5cf57eec..05b45a2f2eb 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -529,7 +529,7 @@ void gp_point_conversion_init(bContext *C, GP_SpaceConversion *r_gsc) view3d_operator_needs_opengl(C); view3d_region_operator_needs_opengl(win, ar); - ED_view3d_autodist_init(graph, scene, ar, v3d, 0); + ED_view3d_autodist_init(graph, ar, v3d, 0); /* for camera view set the subrect */ if (rv3d->persp == RV3D_CAMOB) { |