I’m building a new export operator that can write out either tiled or single images.
All works fine except the preview.
StoreOutputContents(output_set, output, P_PREVIEW); at the end of my activate function.
This works well the the moment the node is connected for the first time,
but after I change one of my parameters on the node itself and press OK, the node status turns red.
It doesn’t enter the activate code block at that point. By changing any of the settings on nodes that lead up to the export, the status turns yellow (which is okay).
Also, by changing any of the parameters on the node, the data temporarely cooks. It’s only when I press OK, that my node ‘errors’ (turns red)
Is there any reason for this behaviour or am I doing something wrong?