From a711aa5b3c715da29546d860f4fde24c27e34593 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Fri, 30 Apr 2021 11:03:39 -0300 Subject: Fix accidental lines removed in the last commit --- source/blender/python/gpu/gpu_py_framebuffer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/python') 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; -- cgit v1.2.3