View Single Post
Old 07-04-12, 04:08 AM   #57
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,289
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.

@Haleth
What happens if you do this:
Lua Code:
  1. frame:SetTexture("Interface\\Icons\\Spell_Holy_InnerFire")
or
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]=]
https://github.com/haste/oUF/blob/4f...ction.lua#L116
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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   Reply With Quote