Compositor: Disabled debug assert checks for connected input sockets after convertToO...
authorLukas Toenne <lukas.toenne@googlemail.com>
Fri, 23 Nov 2012 12:39:49 +0000 (12:39 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Fri, 23 Nov 2012 12:39:49 +0000 (12:39 +0000)
source/blender/compositor/intern/COM_ExecutionSystem.cpp

index c6e0f6c2cfbf0508e628eb193118a37afff5f886..1ec4ac7699bd0d493b78314d871fde30324b225a 100644 (file)
@@ -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());
        }