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:
authorSergey Sharybin <sergey@blender.org>2020-11-06 16:25:30 +0300
committerSergey Sharybin <sergey@blender.org>2020-11-06 16:32:51 +0300
commitaf35ada2f3fa8da4d46b3a71de724d353d716820 (patch)
tree02fc1d199b8d50bb569cd6087ac8d28f3ab3b8d5 /source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
parentdfa027fe09b53485802cb0d6224ffc6bbc058b87 (diff)
Cleanup: Clang-Tidy, modernize-use-bool-literals
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp b/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
index 3efabbfbdf5..bc994e7542c 100644
--- a/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
+++ b/source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
@@ -495,7 +495,7 @@ static PyObject *BPy_FrsMaterial_richcmpr(PyObject *objectA,
int comparison_type)
{
const BPy_FrsMaterial *matA = NULL, *matB = NULL;
- bool result = 0;
+ bool result = false;
if (!BPy_FrsMaterial_Check(objectA) || !BPy_FrsMaterial_Check(objectB)) {
if (comparison_type == Py_NE) {