diff options
Diffstat (limited to 'source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp')
-rw-r--r-- | source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp b/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp index 7e35e5398bd..9d66baf5695 100644 --- a/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp +++ b/source/blender/freestyle/intern/python/StrokeShader/BPy_ColorVariationPatternShader.cpp @@ -15,7 +15,7 @@ static int ColorVariationPatternShader___init__( BPy_ColorVariationPatternShader /*-----------------------BPy_ColorVariationPatternShader type definition ------------------------------*/ PyTypeObject ColorVariationPatternShader_Type = { - PyObject_HEAD_INIT(NULL) + PyVarObject_HEAD_INIT(NULL, 0) "ColorVariationPatternShader", /* tp_name */ sizeof(BPy_ColorVariationPatternShader), /* tp_basicsize */ 0, /* tp_itemsize */ |