Simple fix for avatar head shots
Posted: Fri Jul 12, 2013 10:40 am
From a question about problems with avatar head shots I came up with this fix to xAvatarCustomization.py which fixes the aspect ratio.
(change 4/3 to 4/4) and
(1024, 768 to 1024, 1024)
and (change 200 to 250)
(change 4/3 to 4/4) and
(1024, 768 to 1024, 1024)
- Code: Select all
elif btnID == kAvatarCameraID:
print "ACA: Taking a picture!"
picCam = ptCamera()
picCam.setAspectRatio(4/4)
AvCustGUI.dialog.hide()
PtStartScreenCapture(self.key, 1024, 1024)
and (change 200 to 250)
- Code: Select all
if currentgender == 1:
print "Female Screenshot"
TestMap.textmap.drawImageClipped(0, 0, image, 55, 250, 512, 512, 0)