NewAbstractNode isDepdendentOn() fixed wrong object comparing
@@ -320,7 +320,7 @@ public boolean isDependentOn(NewNode anotherNode) {
boolean isDependent = false;
for (DependencyConnection connection: inputConnections.values()) {
if (connection.getConnectedConnection() != null) {
- if (connection.getConnectedConnection().equals(anotherNode)) {
+ if (connection.getConnectedConnection().getParentNode().equals(anotherNode)) {
return true;
}
}
