View Single Post
04-11-11, 05:09 AM   #16
Nibelheim
local roygbi-
 
Nibelheim's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 1,600
Alright. In the FM.MoveAllFrames = function() block, add the line below right after the f:SetScale(t.scale) line.


f.SetPoint = function() end

So, should look like:
Code:
FM.MoveAllFrames = function()
	for i,v in pairs(MoveFrameList) do
		local t = MoveFrameList[i]
		local f, p = _G[i]
		if f then
			p = t.parent and _G[t.parent] or f:GetParent()
			f:ClearAllPoints()
			f:SetPoint(t.point, p, t.rpoint, t.x, t.y)
			f:SetScale(t.scale)
			f.SetPoint = function() end
		end
	end
end
Just tried Hiding things as well, didn't seem to work
Oops, typo on my part.

Change the line local f = _G[i] in the FM.HideAllFrames = function() block to:

Code:
local f = _G[v]
So, should look like:
Code:
FM.HideAllFrames = function()
	for i,v in pairs(HideFrameList) do
		local f = _G[v]
		if f then

Last edited by Nibelheim : 04-11-11 at 05:15 AM.
  Reply With Quote