Quantcast
WoWInterface - View Single Post - Securely setting a global variable
View Single Post
03-24-18, 12:38 PM   #6
Kanegasi
A Firelord
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 496
Originally Posted by Seerah View Post
ShinyBuffs edits BUFFS_PER_ROW with no issue. So it may be one of the other two. Have you tried narrowing down which?
I didn't think it would just be one or two of them. I immediately assumed it was the spacing one since it's used in buff:SetPoint. To my surprise, the max display is what's causing the rightclick block, and I have no idea why.

Here's all five mentions of the variable in the entire extract:

Code:
..Interface\AddOns\Blizzard_NamePlates\Blizzard_NamePlates.lua (3 hits)
	Line 492: 		for i = 1, BUFF_MAX_DISPLAY do
	Line 513: 		for i = 1, BUFF_MAX_DISPLAY do
	Line 540: 		for i = buffIndex, BUFF_MAX_DISPLAY do
..Interface\FrameXML\BuffFrame.lua (2 hits)
	Line 7: BUFF_MAX_DISPLAY = 32;
	Line 90: 	for i=1, BUFF_MAX_DISPLAY do
I'm going to assume the nameplate code is causing a taint just by proxy. I originally wanted three even rows of 12, looks like I'll have to settle with three rows of 11 with one spot missing. Getting to max buffs is super rare anyways.
  Reply With Quote