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"
)
By JokerMartini · 2011-05-13
Anubis · 2011-05-13