diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp index c418ffe832e..0efc0d8902b 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_IncreasingColorShader.cpp @@ -14,7 +14,7 @@ static int IncreasingColorShader___init__( BPy_IncreasingColorShader* self, PyOb /*-----------------------BPy_IncreasingColorShader type definition ------------------------------*/ PyTypeObject IncreasingColorShader_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "IncreasingColorShader", /* tp_name */ sizeof(BPy_IncreasingColorShader), /* tp_basicsize */ 0, /* tp_itemsize */ |