Beta API discussion
View Single Post
07-04-12, 04:15 AM
A Pyroguard Emberseer
Join Date: Mar 2006
Originally Posted by
Is GetTexture() bugged?
I don't know the answer to that specifically, but there is definitely some kind of issue going on with textures. In Grid, the NormalTexture on each unit button is hidden by setting its opacity to 0 with
button:SetNormalTexture(1, 1, 1, 0)
. As far as I know, this is Pastamancer's original code that's been there since 2006. On the MoP beta servers, however, every frame's NormalTexture was set to a hideous neon green color, and
returned the number 0 instead of a string. The only way I could get rid of the awful green was to do
to remove the texture entirely. Between there being no code in Grid or anywhere else that I could find that should be applying a neon green color to the NormalTexture of anything, and
returning a 0, I'd say there's definitely at least one bug they're (hopefully) working out.
Troubleshoot an addon
Turn any code into an addon
More addon resources
Need help with your code?
code! Attach or
Please don’t PM me
about addon bugs or questions. Post a comment or forum thread instead!
View Public Profile
Send a private message to Phanx
Find More Posts by Phanx