Selected Base object modify panel
How do I make sure the user is actively in the base of the objects modify panel. I commented the buggy part.
if selection.count == 1 and \ ( classof selection == SplineShape or \ classof selection == Line ) \ and selection.modifiers.count == 0 then -- This is buggy! ( print "i can do this" )