remove scene from new compositor classes. only needs RenderData
This commit is contained in:
@@ -38,7 +38,7 @@ void IDMaskNode::convertToOperations(ExecutionSystem *graph, CompositorContext *
|
||||
operation->setObjectIndex(bnode->custom1);
|
||||
|
||||
this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph);
|
||||
if (bnode->custom2 == 0 || context->getScene()->r.scemode & R_FULL_SAMPLE) {
|
||||
if (bnode->custom2 == 0 || context->getRenderData()->scemode & R_FULL_SAMPLE) {
|
||||
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0));
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user