I'm gonna answer myself. I've written a inputs(1) in the constructor... i deleted it, and I got the preview..
sorry for the spam 2012/10/26 Xiaolong Qian <[email protected]> > Hi guys, > > Just a quick question. I wrote a class heriting Read class. Everything > goes well except I don't have a preview like a normal read node, instead, I > got a shape of an Op node( I mean there is a input arrow on it). In fact, I > noticed it was probably due to the following lines: > > static Op* constructor(Node* node) { return new IntelligentReader(node); } > const Op::Description IntelligentReader::desc(CLASS, > "Image/IntelligentReader", constructor); > > Since I have been working always on Iop and Op classes, I just cannot > figure out how to* inantiate a read node, *I assume that a read node is > NOT an Op, right?* > * > What's the correct syntax? Thanks! > > Reagrads > > -- > Xiaolong QIAN > > Doctorant en arts et technologies / PhD. student in art and technology > Université de Paris 8 / University Paris 8 > > Développeur de logiciel 3D / 3D software developer > MachineMolle, Paris > > -- Xiaolong QIAN Doctorant en arts et technologies / PhD. student in art and technology Université de Paris 8 / University Paris 8 Développeur de logiciel 3D / 3D software developer MachineMolle, Paris
_______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
