Fix moving reroute node in Visject to not break it's connection

This commit is contained in:
2026-04-23 08:33:16 +02:00
parent df059f79c7
commit 83538e4385
@@ -659,7 +659,7 @@ namespace FlaxEditor.Surface
if (_movingNodes != null && _movingNodes.Count > 0)
{
// Allow dropping a single node onto an existing connection and connect it
if (_movingNodes.Count == 1)
if (_movingNodes.Count == 1 && controlUnderMouse is not Archetypes.Tools.RerouteNode)
{
var mousePos = _rootControl.PointFromParent(ref _mousePos);
InputBox intersectedConnectionInputBox;