蓝图优化

This commit is contained in:
boyce
2026-04-11 12:12:29 +08:00
parent 966efbd2d0
commit d2a1202803
2 changed files with 42 additions and 5 deletions

View File

@@ -167,6 +167,7 @@ func (em *innerExecNode) CloneInOutPort() ([]IPort, []IPort) {
for _, port := range em.inPort {
if port == nil {
inPorts = append(inPorts, nil)
continue
}
if port.IsPortExec() {
@@ -182,6 +183,7 @@ func (em *innerExecNode) CloneInOutPort() ([]IPort, []IPort) {
for _, port := range em.outPort {
if port == nil {
outPorts = append(outPorts, nil)
continue
}
if port.IsPortExec() {
@@ -396,7 +398,7 @@ func (en *BaseExecNode) GetOutPortArrayValStr(index int, idx int) (Port_Str, boo
}
func (en *BaseExecNode) GetOutPortBool(index int) (Port_Bool, bool) {
port := en.GetInPort(index)
port := en.GetOutPort(index)
if port == nil {
return false, false
}