[Bf-blender-cvs] [9136994] framebuffer: Pydocs: include view3d and region

Dalai Felinto noreply at git.blender.org
Mon Oct 19 18:08:23 CEST 2015


Commit: 91369949c9e4c25f982ef1296523112d274788c7
Author: Dalai Felinto
Date:   Mon Oct 19 14:08:01 2015 -0200
Branches: framebuffer
https://developer.blender.org/rB91369949c9e4c25f982ef1296523112d274788c7

Pydocs: include view3d and region

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

M	source/blender/python/intern/gpu_offscreen.c

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

diff --git a/source/blender/python/intern/gpu_offscreen.c b/source/blender/python/intern/gpu_offscreen.c
index 51e574d..0f22d50 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -195,10 +195,16 @@ static int pygpu_offscreen_check_matrix(PyObject *o, void *p)
 }
 
 PyDoc_STRVAR(pygpu_offscreen_draw_view3d_doc,
-"draw_view3d(modelview_matrix, projection_matrix)\n"
+"draw_view3d(scene, view3d, region, modelview_matrix, projection_matrix)\n"
 "\n"
 "   Draw the 3d viewport in the offscreen object.\n"
 "\n"
+"   :param scene: Scene to draw\n"
+"   :type scene: :class:`bpy.types.Scene`\n"
+"   :param view3d: 3D View to get the drawing settings from\n"
+"   :type view3d: :class:`bpy.types.SpaceView3D`\n"
+"   :param region: Region of the 3D View\n"
+"   :type region: :class:`bpy.types.Region`\n"
 "   :param modelview_matrix: ModelView Matrix\n"
 "   :type modelview_matrix: :class:`mathutils.Matrix`\n"
 "   :param projection_matrix: Projection Matrix\n"




More information about the Bf-blender-cvs mailing list