Fix #36692: crash with split viewer compositing node and rendering. Only one viewer
node should write to the viewer image, the logic to check this was wrong, now made it the same as the viewer node.
This commit is contained in:
parent
d638c4c064
commit
97d250fa65
|
@ -35,9 +35,8 @@ SplitViewerNode::SplitViewerNode(bNode *editorNode) : Node(editorNode)
|
|||
void SplitViewerNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
|
||||
{
|
||||
bNode *editorNode = this->getbNode();
|
||||
bool is_active = ((editorNode->flag & NODE_DO_OUTPUT_RECALC) &&
|
||||
(editorNode->flag & NODE_DO_OUTPUT) && this->isInActiveGroup()) ||
|
||||
context->isRendering();
|
||||
bool is_active = ((editorNode->flag & NODE_DO_OUTPUT_RECALC || context->isRendering()) &&
|
||||
(editorNode->flag & NODE_DO_OUTPUT) && this->isInActiveGroup());
|
||||
|
||||
InputSocket *image1Socket = this->getInputSocket(0);
|
||||
InputSocket *image2Socket = this->getInputSocket(1);
|
||||
|
|
Loading…
Reference in New Issue