NME blocks unintentionally rewired

When using the NME, there’s an issue where blocks are unintentionally rewired. It’s similar to the issue that you fixed last month @Deltakosh, but I wasn’t able to find a way to reproduce it reliably until now. :slight_smile:

So to reproduce the issue, just drag an unconnected block onto the wire of a connected block like below.
nme

This is actually per design :wink:

cc @PatrickRyan
[NME] Shortcuts for search and placement · Issue #12148 · BabylonJS/Babylon.js (github.com)

1 Like

Here it is happening when I just try to drag the block across a long wire, without stopping to hover at all. I think maybe the wire has to be long to trigger this auto-wire issue when you’re dragging across it without hovering/stopping like below.
nme3

oh I see the problem
The wire bounding box is used

Let me see how to fix that :slight_smile:

2 Likes

Here we are:
Fix nme drop by deltakosh · Pull Request #13001 · BabylonJS/Babylon.js (github.com)

Sorry about the inconvenience!!

2 Likes

Awesome, thanks @Deltakosh! I’m pretty sure that’s the part that I was having trouble with when creating materials, not my first post/repro, so it should be smooth sailing now. :grin: :beers:

Perfect !!