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, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp index 7e7bed6b967..c6310486b6c 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_ConstantColorShader.cpp @@ -14,7 +14,7 @@ static int ConstantColorShader___init__( BPy_ConstantColorShader* self, PyObject /*-----------------------BPy_ConstantColorShader type definition ------------------------------*/ PyTypeObject ConstantColorShader_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "ConstantColorShader", /* tp_name */ sizeof(BPy_ConstantColorShader), /* tp_basicsize */ 0, /* tp_itemsize */ |