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:
authorCampbell Barton <ideasman42@gmail.com>2020-11-10 01:39:42 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-10 01:40:20 +0300
commitefd71aad4f22ec0073d80b8dd296015d3f395aa8 (patch)
tree8784a83f215f03f9fdf53fc5495d969bf5cb0bfe /source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp
parent3a764c3e6d8a282b2814aa7f362247cba99b425c (diff)
Cleanup: clang-tidy suppress warnings for PyTypeObject.tp_print
Clang-tidy behavior changes from Python 3.7 to 3.8+ so it's simplest to suppress the warning in this instance.
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp')
-rw-r--r--source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp
index 8f8ef76dc69..dd674c0864f 100644
--- a/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp
+++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_StrokeTextureStepShader.cpp
@@ -70,6 +70,8 @@ PyTypeObject StrokeTextureStepShader_Type = {
sizeof(BPy_StrokeTextureStepShader), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
+ /* Incompatible with Python3.8+ (deprecated function).
+ * NOLINTNEXTLINE: modernize-use-nullptr. */
0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */