Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

query texture dimensions from UV editor

polycounter lvl 10
Offline / Send Message
chronic polycounter lvl 10
I cant seem to get the textureWindow function working right, imageSize always returns [-1,-1], I'm not sure what I'm doing wrong as other operations on the UV editor work fine thru this function.
uvTextureView = pm.getPanel(scriptType='polyTexturePlacementPanel')
currentTextureSize = pm.textureWindow(uvTextureView[0],q=True, imageSize=True)
print currentTextureSize

Replies

Sign In or Register to comment.