Hello there,<div><br></div><div>I wanted to put my hands in cycles code, and give the Separate RGB Node a go:<div><a href="http://codereview.appspot.com/5444047/">http://codereview.appspot.com/5444047/</a></div></div><div>

<br></div><div>However the code compiles and links, but crashes when I render using the node. The crash is in an assert(input), which in my interpretation means the node failed to compile.</div><div>Any suggestions on how to debug this? Or even better, any documentation on how to add a new node, it was fun, but quite painful to go over the code grepping/copy+pasting semi-blindly.</div>

<div><br></div><div>Thanks in advance for all the help,</div><div>Dalai</div><div><br></div><div>(Brecht I added you as a reviewer to the patch in codereview. The problem may be something simple, but I&#39;m trying to get it to work for a few hours. If you could take a look at this it would be great)</div>