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:
authorRichard Antalik <richardantalik@gmail.com>2021-03-31 10:46:38 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-03-31 10:46:38 +0300
commit645fc0c7679423667eb25a77bbd8fb2626d71080 (patch)
tree4afc9ed69730e8e89fd00139e73b32ae1a7a6d41
parentb128ffd53970e09e3a34079f855074051c538ede (diff)
Fix build error on windows
Error was caused by using `#if` directive in `PyDoc_STRVAR` macro. This partially reverts 1e4c35d910e18858c41924f9e27ef8e1070cbd0a
-rw-r--r--source/blender/python/gpu/gpu_py_state.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/python/gpu/gpu_py_state.c b/source/blender/python/gpu/gpu_py_state.c
index e99fc91ac4c..6b0fade8d1c 100644
--- a/source/blender/python/gpu/gpu_py_state.c
+++ b/source/blender/python/gpu/gpu_py_state.c
@@ -96,11 +96,9 @@ PyDoc_STRVAR(
" * ``MULTIPLY`` The original color channels are multiplied by the corresponding ones.\n"
" * ``SUBTRACT`` The original color channels are subtracted by the corresponding ones.\n"
" * ``INVERT`` The original color channels are replaced by its complementary color.\n"
-#if 0
- " * ``OIT``.\n"
- " * ``BACKGROUND`` .\n"
- " * ``CUSTOM`` .\n"
-#endif
+ //" * ``OIT``.\n"
+ //" * ``BACKGROUND`` .\n"
+ //" * ``CUSTOM`` .\n"
" :type mode: str\n");
static PyObject *pygpu_state_blend_set(PyObject *UNUSED(self), PyObject *value)
{