Quantcast WoWInterface - View Single Post - Beta API discussion
View Single Post
Unread 07-04-12, 04:08 AM   #57
A Pyroguard Emberseer
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,413
Originally Posted by Phanx View Post
green texture thingy
That neon green texture error was in Cataclysm beta aswell. It had sth to do with texture loading and addon folders. (Sth like that...)
By the time the texture was set it was unknown to the system and resulted in a bright green texture instead.

Link: http://www.wowinterface.com/forums/s...ad.php?t=39960

Like p3lim wrote. If the texture is unknown to the client for whatever reason you get a bright green texture.

I'm currently having no texture errors but I'm still at the beginning.

What happens if you do this:
Lua Code:
  1. frame:SetTexture("Interface\\Icons\\Spell_Holy_InnerFire")
Lua Code:
  1. frame:SetTexture([[Interface\Icons\Spell_Holy_InnerFire]])

Afaik double backslashes are needed if the texture name is used directly. There is an alternative way to write it without the leading backslash. Phanx or p3lim should know it. Sth like [[TEXTUREPATH]] or [=[TEXTUREPATH]=]
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GitHub | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 07-04-12 at 04:28 AM.
zork is offline