mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
Fix link bug, style minor fixes
This commit is contained in:
@@ -44,7 +44,10 @@ export default class MouseCreateLink extends IMouseClickDrag {
|
||||
} else if (outputPin.entity.getType() === "exec" && outputPin.isLinked) {
|
||||
this.link.setMessageReplaceOutputLink()
|
||||
this.linkValid = true
|
||||
} else if (a.pinType != b.pinType) {
|
||||
} else if (
|
||||
(a.entity.PinType.PinCategory != "object" || b.entity.PinType.PinCategory != "object")
|
||||
&& a.pinType != b.pinType
|
||||
) {
|
||||
this.link.setMessageTypesIncompatible(a, b)
|
||||
this.linkValid = false
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user