[Bf-blender-cvs] [a426fc3] framebuffer: copy-paste typo
Dalai Felinto
noreply at git.blender.org
Mon Oct 19 16:02:18 CEST 2015
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;
}
More information about the Bf-blender-cvs
mailing list