diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-11-20 04:03:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-11-20 04:14:50 +0300 |
commit | 219c3aa6535c72594ce7e641b65abc5a47a5badf (patch) | |
tree | 1ee3913b4b566cabaf8977c93e4976301de6a45e /source/blender/python | |
parent | 25266caa454324b3394c09920913fb419b5abf2b (diff) |
Cleanup: remove unused perspective argument to off-screen drawing
Some callers were passing in dummy values, this can be accessed from
`RegionView3D.is_persp` can be used to check this.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/gpu/gpu_py_offscreen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c index d6548834f2d..aa85b130888 100644 --- a/source/blender/python/gpu/gpu_py_offscreen.c +++ b/source/blender/python/gpu/gpu_py_offscreen.c @@ -265,7 +265,6 @@ static PyObject *bpygpu_offscreen_draw_view3d(BPyGPUOffScreen *self, (float(*)[4])py_mat_projection->matrix, true, true, - true, "", false, self->ofs, |