mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-15 04:50:53 +08:00
Fix index mistake
This commit is contained in:
2
dist/ueblueprint.js
vendored
2
dist/ueblueprint.js
vendored
@@ -2631,7 +2631,7 @@ class PinTemplate extends ITemplate {
|
||||
window.customElements.whenDefined(NodeElement.tagName).then(pin.nodeElement = pin.closest(NodeElement.tagName));
|
||||
pin.getLinks().forEach(pinReference => {
|
||||
const targetPin = pin.blueprint.getPin(pinReference.pinGuid);
|
||||
if (linkedToPin) {
|
||||
if (targetPin) {
|
||||
const [sourcePin, destinationPin] = pin.isOutput() ? [pin, targetPin] : [targetPin, pin];
|
||||
pin.blueprint.addGraphElement(new LinkElement(sourcePin, destinationPin));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user