Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-09 08:05:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-09 08:08:29 +0300
commite118426e4695a97d67e65d69677f3c4e2db50a56 (patch)
treeb07d769f2c5da7b814c62081e8b748e366bc4752 /source/blender/freestyle/intern/python/Interface0D
parent8c846cccd6bdfd3e90a695fabbf05f53e5466a57 (diff)
Fix T82520: error building freestyle with Python3.8
Caused by 16732def37c5a66f3ea28dbe247b09cc6bca6677, This is a 'Py_ssize_t' in Python 3.8, replace with zero as this works in both 3.7 and 3.8.
Diffstat (limited to 'source/blender/freestyle/intern/python/Interface0D')
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp2
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp2
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp2
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp2
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp2
-rw-r--r--source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp
index ce091bf32f1..8ae5bbb14fe 100644
--- a/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/BPy_CurvePoint.cpp
@@ -242,7 +242,7 @@ PyTypeObject CurvePoint_Type = {
sizeof(BPy_CurvePoint), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */
diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
index b000103c63f..1931889df4c 100644
--- a/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
@@ -455,7 +455,7 @@ PyTypeObject SVertex_Type = {
sizeof(BPy_SVertex), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */
diff --git a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp
index e2c6dde338f..c273cb6446a 100644
--- a/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp
@@ -164,7 +164,7 @@ PyTypeObject ViewVertex_Type = {
sizeof(BPy_ViewVertex), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */
diff --git a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
index e419f500344..805b6a933fa 100644
--- a/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
@@ -361,7 +361,7 @@ PyTypeObject StrokeVertex_Type = {
sizeof(BPy_StrokeVertex), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */
diff --git a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp
index 046a601b788..6713106d323 100644
--- a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_NonTVertex.cpp
@@ -109,7 +109,7 @@ PyTypeObject NonTVertex_Type = {
sizeof(BPy_NonTVertex), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */
diff --git a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp
index 9ac47822bd6..cc413b26fcd 100644
--- a/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp
+++ b/source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp
@@ -219,7 +219,7 @@ PyTypeObject TVertex_Type = {
sizeof(BPy_TVertex), /* tp_basicsize */
0, /* tp_itemsize */
nullptr, /* tp_dealloc */
- nullptr, /* tp_print */
+ 0, /* tp_print */
nullptr, /* tp_getattr */
nullptr, /* tp_setattr */
nullptr, /* tp_reserved */