Skip to content

Commit

Permalink
Merge pull request #234 from cptbtptpbcptdtptp/fix/group
Browse files Browse the repository at this point in the history
修复节点拥有无效渲染组件时拖拽异常的问题
  • Loading branch information
JujieX authored Nov 20, 2023
2 parents cfd822b + 85e7f8c commit 904af80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gizmo/src/Group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ export class Group {
}
}
}
if (tempBoundBox.getExtent(out).length() <= 0) {
isEffective = false;
}
if (isEffective) {
tempBoundBox.getCenter(out);
} else {
Expand Down

0 comments on commit 904af80

Please sign in to comment.