Skip to content

🐛 ... 选中多个节点进行保存新文件,进入新文件后报错 #479

@SPIDERstranger

Description

@SPIDERstranger

发生了什么?

1.选择多个节点(鼠标框选或使用ctrl+alt+w 扩散选择)
2.保存为新文件
3.进入新文件报错

TypeError: Cannot read properties of undefined (reading 'collisionBox')
    at get centerLocation (http://tauri.localhost/assets/index-BWKoG0um.js:1957:25966)
    at get collisionBox (http://tauri.localhost/assets/index-BWKoG0um.js:1957:25705)
    at E (http://tauri.localhost/assets/index-BWKoG0um.js:1991:13025)
    at lt (http://tauri.localhost/assets/index-BWKoG0um.js:1991:18180)
    at w (http://tauri.localhost/assets/index-BWKoG0um.js:1991:12818)
    at x (http://tauri.localhost/assets/index-BWKoG0um.js:1991:12126)
    at Object.v [as frameTick] (http://tauri.localhost/assets/index-BWKoG0um.js:1991:11847)
    at L (http://tauri.localhost/assets/index-BWKoG0um.js:2313:17961)
    at J (http://tauri.localhost/assets/index-BWKoG0um.js:2313:18134)

另外说明,选中的是节点树
类似下面这种结构

graph LR
  A-->B
  A-->C
  B-->D1
  B-->D2
  C-->E
Loading

系统版本

Windows

软件的版本

1.8.1

附件

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions