1
Python / Patch for Image.copy
« on: February 04, 2011, 03:30:14 pm »
Hello,
here is patch for bug in Image.copy:
SFML-1.6-python-sdk.zip - SFML-1.6\python\src\Image.cpp, Line 272:
Instead of:
this line should be:
Tested on Win XP SP3, python 2.6.6, PySFML recompiled with mingw32
here is patch for bug in Image.copy:
SFML-1.6-python-sdk.zip - SFML-1.6\python\src\Image.cpp, Line 272:
Instead of:
Code: [Select]
{"Copy", (PyCFunction)PySfImage_Copy, METH_VARARGS, "Copy(Source, DestX, DestY, SourceRect = sf.IntRect(0,0,0,0))\n\
this line should be:
Code: [Select]
{"Copy", (PyCFunction)PySfImage_Copy, METH_VARARGS | METH_KEYWORDS, "Copy(Source, DestX, DestY, SourceRect = sf.IntRect(0,0,0,0))\n\
Tested on Win XP SP3, python 2.6.6, PySFML recompiled with mingw32