Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano Cavalcante <germano.costa@ig.com.br>2021-04-30 17:03:39 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-04-30 17:03:39 +0300
commita711aa5b3c715da29546d860f4fde24c27e34593 (patch)
treeda5ec5c1100e3f908b3849c8ca53355ec809f034 /source/blender/python
parenta35d33d5204515fac8e9b3f3f75094f5580dc64e (diff)
Fix accidental lines removed in the last commit
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/gpu/gpu_py_framebuffer.c3
1 files changed, 3 insertions, 0 deletions
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;