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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user