File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
app/src/core/service/dataGenerateService/autoComputeEngine/functions Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { AutoComputeUtils } from "../AutoComputeUtils";
12
12
import { PenStroke } from "../../../../stage/stageObject/entity/PenStroke" ;
13
13
import { Stage } from "../../../../stage/Stage" ;
14
14
import { PenStrokeDeletedEffect } from "../../../feedbackService/effectEngine/concrete/PenStrokeDeletedEffect" ;
15
+ import { ConnectPoint } from "../../../../stage/stageObject/entity/ConnectPoint" ;
15
16
16
17
/**
17
18
* 直接获取输入节点和下游输出节点
@@ -127,7 +128,7 @@ export namespace NodeLogic {
127
128
return [ "Error: cannot find entity by uuid" ] ;
128
129
}
129
130
// 找到了实体
130
- if ( findEntity instanceof TextNode ) {
131
+ if ( findEntity instanceof TextNode || findEntity instanceof ConnectPoint ) {
131
132
const x = parseFloat ( fatherNode2 . text ) ;
132
133
const y = parseFloat ( fatherNode3 . text ) ;
133
134
if ( Number . isFinite ( x ) && Number . isFinite ( y ) ) {
You can’t perform that action at this time.
0 commit comments