From 645fc0c7679423667eb25a77bbd8fb2626d71080 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Wed, 31 Mar 2021 09:46:38 +0200 Subject: Fix build error on windows Error was caused by using `#if` directive in `PyDoc_STRVAR` macro. This partially reverts 1e4c35d910e18858c41924f9e27ef8e1070cbd0a --- source/blender/python/gpu/gpu_py_state.c | 8 +++----- 1 file 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) { -- cgit v1.2.3