Compositor: Disabled debug assert checks for connected input sockets after convertToOperations. This breaks quite a lot and is not really necessary, since connected Node inputs are ignored later on. Connected outputs however are still forbidden, this indicates a real bug.
This commit is contained in:
@@ -247,9 +247,14 @@ void ExecutionSystem::addReadWriteBufferOperations(NodeOperation *operation)
|
||||
*/
|
||||
static void debug_check_node_connections(Node *node)
|
||||
{
|
||||
/* note: connected inputs are not checked here,
|
||||
* it would break quite a lot and such inputs are ignored later anyway
|
||||
*/
|
||||
#if 0
|
||||
for (int i = 0; i < node->getNumberOfInputSockets(); ++i) {
|
||||
BLI_assert(!node->getInputSocket(i)->isConnected());
|
||||
}
|
||||
#endif
|
||||
for (int i = 0; i < node->getNumberOfOutputSockets(); ++i) {
|
||||
BLI_assert(!node->getOutputSocket(i)->isConnected());
|
||||
}
|
||||
|
Reference in New Issue
Block a user