Quantcast WoWInterface - View Single Post - Is there a way to query if a texture is available?
View Single Post
03-15-14, 01:00 PM   #3
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Originally Posted by Lombra View Post
I think that :SetTexture returns true if the texture was found. It returns true under some circumstances, at least. Not 100% sure that it's that.
Thank you. Unfortunaly as far as I experienced it SetTexture always returns 1 ... if the texture path exists or not. :/

[e]
SetTexture("") returns nil. Whatever this is good for.
  Reply With Quote