Closed mneilly closed 1 week ago
@ Devs: I think we addressed this with the work on #198?
My guess is that this is one we missed when we went from python 2 ot python 3:
File "/home/mneilly/OSS/makehuman/makehuman/plugins/4_rendering_opengl/mh2opengl.py", line 111, in Render
img = img.resized(width/2, height/2, filter=image.FILTER_BILINEAR)
This should probably have been changed to img = img.resized(width//2, height//2, filter=image.FILTER_BILINEAR)
when we went to python 3. Nothing wrong with OP's work-around because it can fix other "missees" by being explicit, but maybe we should correct the integer division as well.
Probably fixed.
On Debian testing with the latest version from the master branch I see the following error when rendering:
The following change seems to get around this issue: