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[1] == SplineShape or \ classof selection[1] == Line ) \ and selection[1].modifiers.count == 0 then -- This is buggy! ( print "i can do this" )
Comments
works fine
no errors here (Max 2009)
my recent MAXScripts RSS (archive here)