(ctx: &mut ScriptContext<'_, API>, last: bool)
| 1106 | if forward.y.abs() > 0.0001 { |
| 1107 | let t = -origin.y / forward.y; |
| 1108 | if t.is_finite() && t > 0.0 && t < 1000.0 { |
| 1109 | point = origin + forward * t; |
| 1110 | } |
| 1111 | } |
| 1112 | point.y = 0.0; |
| 1113 | point |
| 1114 | } |
| 1115 | |
| 1116 | pub fn update_node_picker_filter<API: ScriptAPI + ?Sized>(ctx: &mut ScriptContext<'_, API>) { |
| 1117 | let Some(text) = read_text_box(ctx, "add_node_search_box") else { |
| 1118 | return; |
| 1119 | }; |
no test coverage detected