Hey!

I have created a relighting plugin with Nuke NDK ( you can check out a 
demonstration of it here 
(http://www.youtube.com/watch?v=M8TVr63k8jQ&list=UUs7kxMcb1gYL9MK3IY69Rtw&index=2&feature=plcp)).
This is my first go at the NDK. I have found a problem with my plugin, and I 
hope someone here could point me in the right direction  :) 

When I draw the GL points in the 3d viewport, I need a way to make sure that it 
does not process anything unless all inputs have something connected. I have 
tried 
if(input(0) && input(1) && input(2) && input(3)){do the processing},
but for some reason the plugin still crashes when I in the 3d view disconnects 
(or never connect) input(0). As long as input(0) is connected it doesn't crash, 
but it still updates after I have disconnected other inputs. I would like it to 
only process when at least 4 inputs are connected.

Please let me know if you need more info about the code!
Thanks!

Stian



_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to