Mercurial > wow > cyborg-mmo7
changeset 52:da98db8191f5
Removed special code for callbacks (it was not necessary, and will conflict with the upcoming dual-spec support).
author | madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 |
---|---|
date | Fri, 03 May 2013 23:24:11 +0000 |
parents | fb81254bd7b8 |
children | 4b9e27be9c68 |
files | RatPageModel.lua |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/RatPageModel.lua Fri May 03 23:24:04 2013 +0000 +++ b/RatPageModel.lua Fri May 03 23:24:11 2013 +0000 @@ -87,16 +87,9 @@ end function RatPageModel_methods:SetObjectOnButtonNoUpdate(button, mode, object) --- CyborgMMO_DPrint("button = "..tostring(button).." mode = "..tostring(mode)) self.objects[mode][button] = object - if object then object:SetBinding(CyborgMMO_ProfileKeyBindings[((mode-1)*RAT7.BUTTONS)+button]) - if "callback" == object.type then - CyborgMMO_DPrint("trying to set texture") - local slot = getglobal("CyborgMMO_MainPageSlotListSlot"..button) - slot:SetNormalTexture(object.texture) - end else CyborgMMO_ClearBinding(CyborgMMO_ProfileKeyBindings[((mode-1)*RAT7.BUTTONS)+button]) end