# HG changeset patch # User Flick # Date 1305152018 25200 # Node ID 3dcfc0aad8759b93795a4d7f465de5b0deca1f57 # Parent 4e325f1ea6e1796ccd9fa74e1798eb9f9d9ad972 Pet action button needs name for auxiliary frames diff -r 4e325f1ea6e1 -r 3dcfc0aad875 PetActionButton.lua --- a/PetActionButton.lua Wed May 11 11:27:36 2011 -0700 +++ b/PetActionButton.lua Wed May 11 15:13:38 2011 -0700 @@ -81,6 +81,8 @@ function Pet:New( config, bar, idx, idHint ) self = Super.New(self, config, bar, idx, "SecureActionButtonTemplate, ActionButtonTemplate" ) + local fname = self:GetFrame():GetName() + local f = self:GetFrame() if not f.autoCastTexture then -- store autocast stuff with the frame for recycling