(
ctx: &mut ScriptContext<'_, API>,
name: &str,
selected: bool,
indicator: RowIndicator,
)
| 4087 | let mut doc = doc.clone(); |
| 4088 | for node in doc.scene.nodes.to_mut().iter_mut() { |
| 4089 | node.script = None; |
| 4090 | node.clear_script = true; |
| 4091 | if let Some(root_of) = node.root_of.as_mut() |
| 4092 | && root_of.starts_with("res://") |
| 4093 | { |
| 4094 | *root_of = Cow::Owned(res_to_abs(project_root, root_of)); |
| 4095 | } |
| 4096 | rewrite_project_res_data(&mut node.data, project_root); |
| 4097 | for (_, value) in node.script_vars.to_mut().iter_mut() { |
| 4098 | rewrite_project_res_value(value, project_root); |
| 4099 | } |
| 4100 | } |
no test coverage detected