[Bf-blender-cvs] [b5117660da2] master: PyAPI: GPU Buffer: Buffer protocol support
Germano Cavalcante
noreply at git.blender.org
Mon Aug 16 18:58:07 CEST 2021
Commit: b5117660da27d9d13c48c1d2f1afd64083e120bb
Author: Germano Cavalcante
Date: Mon Aug 16 13:49:06 2021 -0300
Branches: master
https://developer.blender.org/rBb5117660da27d9d13c48c1d2f1afd64083e120bb
PyAPI: GPU Buffer: Buffer protocol support
The code was commented due to lack of testing and short release deadline.
===================================================================
M source/blender/python/gpu/gpu_py_buffer.c
===================================================================
diff --git a/source/blender/python/gpu/gpu_py_buffer.c b/source/blender/python/gpu/gpu_py_buffer.c
index a1fc89e772e..6e6aef4204d 100644
--- a/source/blender/python/gpu/gpu_py_buffer.c
+++ b/source/blender/python/gpu/gpu_py_buffer.c
@@ -37,7 +37,7 @@
#include "gpu_py_buffer.h"
-//#define PYGPU_BUFFER_PROTOCOL
+#define PYGPU_BUFFER_PROTOCOL
#define MAX_DIMENSIONS 64
/* -------------------------------------------------------------------- */
More information about the Bf-blender-cvs
mailing list