Thread: Tooltip issues
View Single Post
03-17-09, 12:26 PM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Okay --

I've modified the talent spec module to ignore requests to get build information on the "mouseover" unit id. That will be in the next maintenance release.

In the meantime, if you want to test to see if the fix resolves your own tooltip issues with gear, then edit the file [ Interface > AddOns > nUI > Units > nUI_UnitSpec.lua ] and located the method "GetTalentBuild" -- replace it with the following code block...

Code:
local function GetTalentBuild( unit_id, unit_info )
    
--    nUI_ProfileStart( ProfileCounter, "GetTalentBuild" );

    -- we don't do talent inspections on mouseover units
    
    if unit_id ~= "mouseover" then
        
        updating_queue      = updating_queue+1;
        QueueCount[unit_id] = (QueueCount[unit_id] or 0)+1;
        num_queued          = num_queued+1;

        if first_queue then        
            first_queue = false;
        end
        
        TalentBuildQueue[num_queued] = 
        {
            ready    = false,
            pending  = false,
            unit     = unit_info,
            guid     = unit_info.guid,
            id       = unit_id,
            expires  = 0;
        };
            
        updating_queue = updating_queue-1;
        
    end
        
--    nUI_ProfileStop();

end
__________________

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/