[Bf-blender-cvs] [e284654fbf8] master: Fix T70537: Documentation: bpygpu_offscreen_draw_view3d_doc not up to date

Ulysse Martin noreply at git.blender.org
Mon Oct 7 19:40:31 CEST 2019


Commit: e284654fbf87782f74edce5732cae8ef6f2234e3
Author: Ulysse Martin
Date:   Mon Oct 7 14:38:11 2019 -0300
Branches: master
https://developer.blender.org/rBe284654fbf87782f74edce5732cae8ef6f2234e3

Fix T70537: Documentation: bpygpu_offscreen_draw_view3d_doc not up to date

===================================================================

M	source/blender/python/gpu/gpu_py_offscreen.c

===================================================================

diff --git a/source/blender/python/gpu/gpu_py_offscreen.c b/source/blender/python/gpu/gpu_py_offscreen.c
index 70f76896898..6505e59624b 100644
--- a/source/blender/python/gpu/gpu_py_offscreen.c
+++ b/source/blender/python/gpu/gpu_py_offscreen.c
@@ -183,7 +183,7 @@ static PyObject *bpygpu_offscreen_unbind(BPyGPUOffScreen *self, PyObject *args,
 
 PyDoc_STRVAR(
     bpygpu_offscreen_draw_view3d_doc,
-    ".. method:: draw_view3d(scene, view3d, region, view_matrix, projection_matrix)\n"
+    ".. method:: draw_view3d(scene, view_layer, view3d, region, view_matrix, projection_matrix)\n"
     "\n"
     "   Draw the 3d viewport in the offscreen object.\n"
     "\n"



More information about the Bf-blender-cvs mailing list