[Bf-blender-cvs] [a0f095d] framebuffer: API: gpu functions, docs

Dalai Felinto noreply at git.blender.org
Tue Sep 29 04:46:26 CEST 2015


Commit: a0f095de53c4c25ea2706241622cabee97b5294a
Author: Dalai Felinto
Date:   Mon Sep 28 19:14:44 2015 -0300
Branches: framebuffer
https://developer.blender.org/rBa0f095de53c4c25ea2706241622cabee97b5294a

API: gpu functions, docs

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

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

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

diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c
index a2fbdbe..8a9e6bb 100644
--- a/source/blender/python/intern/gpu.c
+++ b/source/blender/python/intern/gpu.c
@@ -453,7 +453,7 @@ PyDoc_STRVAR(GPU_offscreen_object_bind_doc,
 "\n"
 "   :param offscreen_object: offscreen object\n"
 "   :type offscreen_object: :class:`gpu.OffScreenObject`\n"
-"   :param use_save: \n"
+"   :param use_save: save OpenGL current states\n"
 "   :type use_save: bool"
 );
 static PyObject *GPU_offscreen_object_bind(PyObject *UNUSED(self), PyObject *args, PyObject *kwds)
@@ -532,7 +532,7 @@ PyDoc_STRVAR(GPU_offscreen_object_unbind_doc,
 "\n"
 "   :param offscreen_object: offscreen object\n"
 "   :type offscreen_object: :class:`gpu.OffScreenObject`\n"
-"   :param use_restore: \n"
+"   :param use_restore: restore OpenGL previous states\n"
 "   :type use_restore: bool"
 );
 static PyObject *GPU_offscreen_object_unbind(PyObject *UNUSED(self), PyObject *args, PyObject *kwds)




More information about the Bf-blender-cvs mailing list