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-08-16 19:49:06 +0300
committerGermano Cavalcante <germano.costa@ig.com.br>2021-08-16 19:57:25 +0300
commitb5117660da27d9d13c48c1d2f1afd64083e120bb (patch)
tree1d7cb1c9b4c448fc67a80d3037575496c5387fe4
parent035d4c28abaf351b36ff5bb6057f865888790331 (diff)
PyAPI: GPU Buffer: Buffer protocol support
The code was commented due to lack of testing and short release deadline.
-rw-r--r--source/blender/python/gpu/gpu_py_buffer.c2
1 files changed, 1 insertions, 1 deletions
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
/* -------------------------------------------------------------------- */