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:
Diffstat (limited to 'source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp')
-rw-r--r--source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp b/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp
index 2d0c6f14452..53a4ba8b3b8 100644
--- a/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp
+++ b/source/blender/freestyle/intern/python/BPy_UnaryFunction0D.cpp
@@ -124,6 +124,8 @@ PyTypeObject UnaryFunction0D_Type = {
sizeof(BPy_UnaryFunction0D), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)UnaryFunction0D___dealloc__, /* tp_dealloc */
+ /* Incompatible with Python3.8+ (deprecated function).
+ * NOLINTNEXTLINE: modernize-use-nullptr. */
0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */