Hi,
I'm writing a slate macro (having started with some that were available for download). What it currently does is provide a head slate at a certain frame (or before it) and a tail slate at and after the tailSlateFrame, and just run the input straight through to the output in between. That part I have working. What I also want this macro to do is if there is no input, to just display the slate, and ignore the headSlateFrame and tailSlateFrame parameters. How do I tell if the input to the macro is wired? Every time I try to evaluate some component of inputImage.width, for example, Shake croaks with an error indicating that I couldn't access something that it was in the middle of constructing! I surmise that the mere act of accessing inputImage (which is an 'image' defined in the parameter list of the macro) causes it to cook the input, which would normally error out the node.
Any thoughts or suggestions where to look?
Thanks,
-- Antoine Durr