mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-17 19:03:27 +08:00
Node links cleaned wen added to the graph
This commit is contained in:
@@ -119,6 +119,12 @@ export default class PinElement extends IElement {
|
||||
return this.entity.LinkedTo ?? []
|
||||
}
|
||||
|
||||
cleanLinks() {
|
||||
this.entity.LinkedTo = this.getLinks().filter(
|
||||
pinReference => this.blueprint.getPin(pinReference)
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {PinElement} targetPinElement
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user