suck
10-24-2006, 08:07 PM
I have a little block in most of my scripted plugins that says:
<plugin>
local theNode
on attachedToNode obj do
(
theNode = obj
)
<parameter block>
<rollout>
<end of plugin>
this lets us store the node that a scripted plugin is attached to inside the plugin itself. this is great, except for that attachedToNode doesn't seem to get called until we select the object and go to the modify panel... and there are lots of times that this is not cool.
So does anyone have a craftier, more bulletproof way of storing this?
Thanks!
-b
<plugin>
local theNode
on attachedToNode obj do
(
theNode = obj
)
<parameter block>
<rollout>
<end of plugin>
this lets us store the node that a scripted plugin is attached to inside the plugin itself. this is great, except for that attachedToNode doesn't seem to get called until we select the object and go to the modify panel... and there are lots of times that this is not cool.
So does anyone have a craftier, more bulletproof way of storing this?
Thanks!
-b
