[Bf-blender-cvs] [a711aa5b3c7] master: Fix accidental lines removed in the last commit
Germano Cavalcante
noreply at git.blender.org
Fri Apr 30 16:03:46 CEST 2021
Commit: a711aa5b3c715da29546d860f4fde24c27e34593
Author: Germano Cavalcante
Date: Fri Apr 30 11:03:39 2021 -0300
Branches: master
https://developer.blender.org/rBa711aa5b3c715da29546d860f4fde24c27e34593
Fix accidental lines removed in the last commit
===================================================================
M source/blender/python/gpu/gpu_py_framebuffer.c
===================================================================
diff --git a/source/blender/python/gpu/gpu_py_framebuffer.c b/source/blender/python/gpu/gpu_py_framebuffer.c
index b690dbd93dd..70938cf1ecc 100644
--- a/source/blender/python/gpu/gpu_py_framebuffer.c
+++ b/source/blender/python/gpu/gpu_py_framebuffer.c
@@ -654,6 +654,9 @@ PyObject *BPyGPUFrameBuffer_CreatePyObject(GPUFrameBuffer *fb, bool shared_refer
UNUSED_VARS(shared_reference);
#endif
+ self = PyObject_New(BPyGPUFrameBuffer, &BPyGPUFrameBuffer_Type);
+ self->fb = fb;
+
#if GPU_USE_PY_REFERENCES
self->shared_reference = shared_reference;
More information about the Bf-blender-cvs
mailing list