Added Button.lua to ArtFrames directory and modified the toc file.
Now get following error whenever I try to add a button to a baseframe
Code:
Interface\AddOns\RDX\ArtFrames\Button.lua:16: attempt to call field 'UFFrameCheck_Proto' (a nil value)
Stack trace:
-----------
(tail call): ?
Interface\AddOns\RDX\ObjectMgr\ObjectState.lua:107: in function `InSituState'
Interface\AddOns\RDX\ObjectMgr\FeatureEditor.lua:76: in function <Interface\AddOns\RDX\ObjectMgr\FeatureEditor.lua:59>
Interface\AddOns\RDX\ObjectMgr\FeatureEditor.lua:246: in function `OnDrop'
Interface\AddOns\VFL\UI\DragDrop.lua:48: in function <Interface\AddOns\VFL\UI\DragDrop.lua:40>