Commit: a426fc3b0f929b50f662d6e4fbcc72ea9687da1d
Author: Dalai Felinto
Date:   Mon Oct 19 12:02:00 2015 -0200
Branches: framebuffer
https://developer.blender.org/rBa426fc3b0f929b50f662d6e4fbcc72ea9687da1d

copy-paste typo

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

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 0e75edb..dc6a543 100644
--- a/source/blender/python/intern/gpu_offscreen.c
+++ b/source/blender/python/intern/gpu_offscreen.c
@@ -246,7 +246,7 @@ static PyObject *pygpu_offscreen_draw_view3d(PyGPUOffScreen 
*self, PyObject *arg
        }
 
        v3d = (View3D *)PyC_RNA_AsPointer(pyview3d, "View3D");
-       if (ar== NULL) {
+       if (v3d== NULL) {
                PyErr_SetString(PyExc_SystemError, "draw_view3d: No valid 3d 
view");
                return NULL;
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to