# HG changeset patch # User madcatzinc@35b17cf1-18cd-47ff-9ca3-31d6b526ef09 # Date 1367623451 0 # Node ID da98db8191f55fde6a6f3e5f7204fc2fd8ce3bcf # Parent fb81254bd7b8c4a5f64c66d7a6297e102e3adb93 Removed special code for callbacks (it was not necessary, and will conflict with the upcoming dual-spec support). diff -r fb81254bd7b8 -r da98db8191f5 RatPageModel.lua --- 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