I think for whatever reason IsNamePlateFrame() fails.
My best bet is: Check the result of o:GetTexture().
Either that function is incorrectly returning nil for a nameplate frame. (GetTexture() is acting wierd atm...green texture bug for returning nil etc.)
Other possibility is that texture path is different from: "Interface\\Tooltips\\Nameplate-Border"
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)
"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
|
Last edited by zork : 07-22-12 at 06:52 AM.
|