summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/ConnectionEvent.cpp1
-rw-r--r--src/engine/events/DisconnectionEvent.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/engine/events/ConnectionEvent.cpp b/src/engine/events/ConnectionEvent.cpp
index 24b80dee..772679fa 100644
--- a/src/engine/events/ConnectionEvent.cpp
+++ b/src/engine/events/ConnectionEvent.cpp
@@ -111,7 +111,6 @@ ConnectionEvent::pre_process()
assert(_patch);
- //if (_dst_input_port->is_connected_to(_src_output_port)) {
if (_patch->has_connection(_src_output_port, _dst_input_port)) {
_error = ALREADY_CONNECTED;
QueuedEvent::pre_process();
diff --git a/src/engine/events/DisconnectionEvent.cpp b/src/engine/events/DisconnectionEvent.cpp
index 86ad8b4e..d98718e9 100644
--- a/src/engine/events/DisconnectionEvent.cpp
+++ b/src/engine/events/DisconnectionEvent.cpp
@@ -121,7 +121,6 @@ DisconnectionEvent::pre_process()
assert(_patch);
- //if (_dst_input_port->is_connected_to(_src_output_port)) {
if (!_patch->has_connection(_src_output_port, _dst_input_port)) {
_error = NOT_CONNECTED;
QueuedEvent::pre_process();