diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-03-31 10:46:38 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-03-31 10:46:38 +0300 |
commit | 645fc0c7679423667eb25a77bbd8fb2626d71080 (patch) | |
tree | 4afc9ed69730e8e89fd00139e73b32ae1a7a6d41 /source | |
parent | b128ffd53970e09e3a34079f855074051c538ede (diff) |
Fix build error on windows
Error was caused by using `#if` directive in `PyDoc_STRVAR` macro.
This partially reverts 1e4c35d910e18858c41924f9e27ef8e1070cbd0a
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/gpu/gpu_py_state.c | 8 |
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) { |