View Single Post
01-10-15, 10:52 PM   #9
myrroddin
A Pyroguard Emberseer
 
myrroddin's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 1,240
I don't use RealUI, but a shot in the dark here is that LibBars-1.0 has been customized, probably to account for previous expansions causing code breakage.

The current version of LibBars works fine for me in SmartRes2, even though it is flagged for WoW 4.3. I did have to one line of hack in SR2's code but it was minor.
Code:
-- LibBars event - called when bar finished fading
function SmartRes2:ResBarsFadeFinished(event, bar, name)
	if not name then
		-- Hack to deal with LibBars callback setup
		self, event, bar, name = SmartRes2, self, event, bar
	end
	-- self:Debug("ResBarsFadeFinished", name)
	resBars[name] = nil
end
  Reply With Quote