
|
If you were logged in you would be able to see more operations.
|
|
|
Chinchilla
Created: 18/May/08 02:47 PM
Updated: 29/May/08 01:53 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
None
|
|
| WoW Language: |
English (enUS)
|
|
I recently noticed that Blizzard's default compass is still showing on login/reloadui even though I have the Compass module enabled. If I toggle the Compass module off and back on, it then hides the Blizzard compass. Also, the Show/Hide North toggle does nothing.
|
|
Description
|
I recently noticed that Blizzard's default compass is still showing on login/reloadui even though I have the Compass module enabled. If I toggle the Compass module off and back on, it then hides the Blizzard compass. Also, the Show/Hide North toggle does nothing. |
Show » |
|
What I did, in Compass.lua, is replace:
local function repositionCompass()
local angle = 0
if rotateMinimap then
angle = MiniMapCompassRing:GetFacing()
end
with:
local function repositionCompass()
local angle = 0
if rotateMinimap then
angle = MiniMapCompassRing:GetFacing()
MiniMapCompassRing:Hide()
else
MinimapNorthTag:Hide()
end
This seems to work perfectly for me, with the compass on or off, but I don't know how much extra CPU usage is being hit by this call happening every bloody time. Like I say, I'd rather see this in the Compass initialization code, but I r teh dum.
Edit: Bah. Can't figure out how to get indentation to show in comments here. I assume anyone reading this is smart enough to indent it properly.