diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-11-06 16:25:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-11-06 16:32:51 +0300 |
commit | af35ada2f3fa8da4d46b3a71de724d353d716820 (patch) | |
tree | 02fc1d199b8d50bb569cd6087ac8d28f3ab3b8d5 /source/blender/freestyle/intern/python/BPy_Freestyle.cpp | |
parent | dfa027fe09b53485802cb0d6224ffc6bbc058b87 (diff) |
Cleanup: Clang-Tidy, modernize-use-bool-literals
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_Freestyle.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/BPy_Freestyle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_Freestyle.cpp b/source/blender/freestyle/intern/python/BPy_Freestyle.cpp index 9796dcda964..631bdc8bc28 100644 --- a/source/blender/freestyle/intern/python/BPy_Freestyle.cpp +++ b/source/blender/freestyle/intern/python/BPy_Freestyle.cpp @@ -268,7 +268,7 @@ static PyObject *Freestyle_evaluateCurveMappingF(PyObject * /*self*/, PyObject * /* disable extrapolation if enabled */ if ((cumap->flag & CUMA_EXTEND_EXTRAPOLATE)) { cumap->flag &= ~CUMA_EXTEND_EXTRAPOLATE; - BKE_curvemapping_changed(cumap, 0); + BKE_curvemapping_changed(cumap, false); } return PyFloat_FromDouble(BKE_curvemapping_evaluateF(cumap, cur, value)); } |