Blob Blame History Raw
Index: blender-2.93.3/source/blender/python/mathutils/mathutils.c
===================================================================
--- blender-2.93.3.orig/source/blender/python/mathutils/mathutils.c
+++ blender-2.93.3/source/blender/python/mathutils/mathutils.c
@@ -95,7 +95,11 @@ Py_hash_t mathutils_array_hash(const flo
   x = 0x345678UL;
   i = 0;
   while (--len >= 0) {
+#if PY_VERSION_HEX >= 0x30a0000 /* Version: 3.10. */
+    y = _Py_HashDouble(NULL, (double)(array[i++]));
+#else
     y = _Py_HashDouble((double)(array[i++]));
+#endif
     if (y == -1) {
       return -1;
     }