Hi all,
I have a custom LightOp that allows an Iop node being connected to, like
'ColorBars' and 'Read' node.
The problem is, I cannot move my light node in the GL view port by using
mouse, but of course I can manually type the xform in the matrix knob to
move my light.
Here is the full source, since test_input() returns 'true', it allows all
kinds of Op to connect, including Iop class, so this can easily reproduce my
problem.
/* ------------ c++ source start --------------- */
#include <DDImage/LightOp.h>
using namespace DD::Image;
class mylight : public LightOp {
public:
mylight( Node* node ) : LightOp( node ) {}
virtual const char* node_help() const{ return "mylight"; }
virtual const char* Class() const { return "mylight"; }
static const Description description;
bool test_input( int, Op* ) const{ return true; }
};
static Op* build(Node* node) { return new mylight(node); }
const Op::Description mylight::description( "mylight", 0, build);
/* ------------ c++ source end --------------- */
Any one knows a workaround for this ?
Thanks a lot,
Shing
--
Zhicheng YE - Shing
the /*jupiter jazz*/ group - visual research
mercenaries of jupiter jazz limited - hong kong
www.jupiter-jazz.com <http://www.jupiter-jazz.com>
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev