Fix T82520: error building freestyle with Python3.8

Caused by 16732def37,
This is a 'Py_ssize_t' in Python 3.8,
replace with zero as this works in both 3.7 and 3.8.
This commit is contained in:
2020-11-09 16:05:03 +11:00
parent 8c846cccd6
commit e118426e46
149 changed files with 149 additions and 150 deletions

View File

@@ -133,7 +133,7 @@ PyTypeObject UnaryFunction0DViewShape_Type = {
sizeof(BPy_UnaryFunction0DViewShape), /* tp_basicsize */
0, /* tp_itemsize */
(destructor)UnaryFunction0DViewShape___dealloc__, /* tp_dealloc */
nullptr, /* tp_print */
0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */