[Bf-blender-cvs] [5f39310323b] compositor-full-frame: Revert "Fix: Unavailable sockets are used during compositing execution"

Manuel Castilla noreply at git.blender.org
Fri Jul 23 19:23:11 CEST 2021


Commit: 5f39310323b5573a5e0b126c3efc66d6e1bffa13
Author: Manuel Castilla
Date:   Thu May 27 20:43:43 2021 +0200
Branches: compositor-full-frame
https://developer.blender.org/rB5f39310323b5573a5e0b126c3efc66d6e1bffa13

Revert "Fix: Unavailable sockets are used during compositing execution"

This reverts commit ce7f952e25c238f7bad4da837447c645398a27f3.

===================================================================

M	source/blender/compositor/intern/COM_Node.cc

===================================================================

diff --git a/source/blender/compositor/intern/COM_Node.cc b/source/blender/compositor/intern/COM_Node.cc
index 41f3050f908..6ac48e3646c 100644
--- a/source/blender/compositor/intern/COM_Node.cc
+++ b/source/blender/compositor/intern/COM_Node.cc
@@ -47,11 +47,6 @@ Node::Node(bNode *editorNode, bool create_sockets)
   if (create_sockets) {
     bNodeSocket *input = (bNodeSocket *)editorNode->inputs.first;
     while (input != nullptr) {
-      if (input->flag & SOCK_UNAVAIL) {
-        input = input->next;
-        continue;
-      }
-
       DataType dt = DataType::Value;
       if (input->type == SOCK_RGBA) {
         dt = DataType::Color;
@@ -65,11 +60,6 @@ Node::Node(bNode *editorNode, bool create_sockets)
     }
     bNodeSocket *output = (bNodeSocket *)editorNode->outputs.first;
     while (output != nullptr) {
-      if (output->flag & SOCK_UNAVAIL) {
-        output = output->next;
-        continue;
-      }
-
       DataType dt = DataType::Value;
       if (output->type == SOCK_RGBA) {
         dt = DataType::Color;



More information about the Bf-blender-cvs mailing list