PDA

View Full Version : gizmo crop node



adagosti
August 13th, 2009, 02:03 AM
Hi guys. I'm building a gizmo that has a crop node in it. The crop node needs to have it's r and t (w and h) values of the box knob set to the format size of the script. Normally, when you create a crop node it automatically sets those values to the script's current format size. When the gizmo is added to a new script the crop node inside it has the values of the script the gizmo was exported from. How can I fix this?

Thanks in advance for any help,
Tony

elfin
August 14th, 2009, 01:17 AM
set cut_paste_input [stack 0]
Crop {
box {{curve i} {curve i} {format.r i} {format.t i}}
name Crop1
selected true
xpos -1668
ypos 1171
}

adagosti
August 14th, 2009, 02:09 AM
Thanks for the reply elfin. I got the gizmo working.