Thread Tools Display Modes
04-25-10, 06:45 PM   #1
tinyu
A Molten Giant
 
tinyu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 837
Set Focus error

I just got this error when trying to assign a focus target

Date: 2010-04-26 10:12:21
ID: 2
Error occured in: AddOn: nUI
Count: 1
Message: Error: AddOn nUI attempted to call a forbidden function (FocusUnit()) from a tainted execution path.
Debug:
[C]: FocusUnit()
..\FrameXML\UnitPopup.lua:1267: func()
..\FrameXML\UIDropDownMenu.lua:575: UIDropDownMenuButton_OnClick()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1

if this is already known then disregard this thread.
__________________
"There's no such thing as too many addons."
Lothaer
Titan Dev Team Member.
 
04-25-10, 07:23 PM   #2
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
Looks like you tried to set a focus by right clicking the portrait and using the menu. If that's the case, then yes it is known and it affects almost all UI addons from what Ive read. You have to manually set and clear focus by using slash commands.
 
04-25-10, 08:48 PM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
As Vis points out... this is a known Bliz bug that affects all unit frame mods. There's a FAQ, with a workaround, for the problem here:

http://www.wowinterface.com/forums/s...ad.php?t=20914
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Set Focus error

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off