(&mut self, state: &EditorState)
| 1317 | return; |
| 1318 | }; |
| 1319 | set_ui_display(ctx, "inspector_node_chain_mount", !parts.is_empty()); |
| 1320 | if parts.is_empty() { |
| 1321 | return; |
| 1322 | } |
| 1323 | if find_named(ctx, "inspector_node_chain").is_none() |
| 1324 | && let Ok(root_id) = ctx |
| 1325 | .run |
| 1326 | .Scene() |
| 1327 | .load(editor_app::INSPECTOR_NODE_CHAIN_SCENE.to_string()) |
| 1328 | { |
| 1329 | let _ = ctx.run.Nodes().reparent(mount_id, root_id); |
no test coverage detected