Thread: SBug (portrait)
View Single Post
08-29-12, 12:52 PM   #6
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
oUF supports 2D portraits. Just make that an option and done. (Depending on frame oUF decides what to spawn).

Check "use3D".
http://code.google.com/p/rothui/sour...re/lib.lua#397

Lua Code:
  1. --3d
  2. self.Portrait = CreateFrame("PlayerModel", nil, frame)
  3. --2d
  4. self.Portrait = frame:CreateTexture(nil,"BACKGROUND",nil,-7)
__________________
| 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 : 08-29-12 at 12:54 PM.
  Reply With Quote