[Bf-blender-cvs] [9340489] framebuffer: gpu.offscreen_object_free() fix
Dalai Felinto
noreply at git.blender.org
Tue Sep 29 04:46:27 CEST 2015
Commit: 9340489f42c5d67c9192f32c9419fb9720c9d9f4
Author: Dalai Felinto
Date: Mon Sep 28 20:03:51 2015 -0300
Branches: framebuffer
https://developer.blender.org/rB9340489f42c5d67c9192f32c9419fb9720c9d9f4
gpu.offscreen_object_free() fix
===================================================================
M source/blender/python/intern/gpu.c
===================================================================
diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c
index 8a9e6bb..c0c4687 100644
--- a/source/blender/python/intern/gpu.c
+++ b/source/blender/python/intern/gpu.c
@@ -518,6 +518,7 @@ static PyObject *GPU_offscreen_object_free(PyObject *UNUSED(self), PyObject *arg
return NULL;
GPU_offscreen_free(PyOfs->ofs);
+ PyOfs->ofs = NULL;
Py_RETURN_NONE;
}
More information about the Bf-blender-cvs
mailing list