nodeview: allow dropping a node on any edge

Before we checked data types to ensure compatibility, but some nodes (e.g. the
math node) may be compatible despite a not apparently compatible data type.
We allow users to make any connection quickly this way.
This commit is contained in:
itsmattkc
2020-04-28 03:20:08 +10:00
parent 0faf682225
commit b57d12868f
2 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ private:
NodeViewItem* attached_item_;
NodeViewEdge* drop_edge_;
NodeInput* drop_compatible_input_;
NodeInput* drop_input_;
NodeViewScene scene_;