diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp index 7c6c4da80ec..e64064ba655 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp @@ -76,6 +76,8 @@ PyTypeObject ConstantColorShader_Type = { sizeof(BPy_ConstantColorShader), /* 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 */ |