(data: &mut SceneNodeData, state: &EditorState)
| 1041 | set_log(ctx, &msg); |
| 1042 | rebuild_preview(ctx); |
| 1043 | refresh_all(ctx); |
| 1044 | } |
| 1045 | |
| 1046 | pub fn add_node_from_picker<API: ScriptAPI + ?Sized>(ctx: &mut ScriptContext<'_, API>, row: usize) { |
| 1047 | let node_type = with_state!(ctx.run, EditorState, ctx.id, |state| { |
| 1048 | exact_picker_node_type(&state.node_picker_filter).or_else(|| { |
| 1049 | picker_node_types(state, &state.node_picker_filter) |
| 1050 | .get(state.node_picker_offset + row) |
| 1051 | .copied() |
| 1052 | }) |
nothing calls this directly
no test coverage detected