donat2
October 23rd, 2007, 04:53 PM
Hi,
I've created a little gizmo. It's an adaptation of the 'LM_2DMV to Nuke' gizmo. It takes two inputs. The image to be blurred and the motion vector pass.
It works fine except for one problem. When I put this gizmo in the DAG it starts with an error, i.e. there's the big red ERROR appearing on top of the gizmo. When I feed the two inputs of the gizmo the error message disappears.
This error comes from the fact that I do a channel copy inside the gizmo. So until the input is connected I get an error. How should I deal with this ? My first guess would be to disable the channel copy node inside the gizmo if there's no input connected, but I don't know how to write such an expression in TCL.
Any help would be appreciated.
Donat.
________
HairyVirginity (http://www.girlcamfriend.com/cam/HairyVirginity/)
I've created a little gizmo. It's an adaptation of the 'LM_2DMV to Nuke' gizmo. It takes two inputs. The image to be blurred and the motion vector pass.
It works fine except for one problem. When I put this gizmo in the DAG it starts with an error, i.e. there's the big red ERROR appearing on top of the gizmo. When I feed the two inputs of the gizmo the error message disappears.
This error comes from the fact that I do a channel copy inside the gizmo. So until the input is connected I get an error. How should I deal with this ? My first guess would be to disable the channel copy node inside the gizmo if there's no input connected, but I don't know how to write such an expression in TCL.
Any help would be appreciated.
Donat.
________
HairyVirginity (http://www.girlcamfriend.com/cam/HairyVirginity/)