(data: &mut SceneNodeData)
| 2041 | .iter() |
| 2042 | .filter(|node| node.parent.map(|parent| parent.as_u32()) == current_parent) |
| 2043 | .map(|node| node.key.as_u32()) |
| 2044 | .collect::<Vec<_>>(); |
| 2045 | let Some(pos) = siblings.iter().position(|sibling| *sibling == key) else { |
| 2046 | return false; |
| 2047 | }; |
| 2048 | if pos == 0 { |
| 2049 | state.log = "reparent\nno previous sibling".to_string(); |
| 2050 | return false; |
| 2051 | } |
| 2052 | Some(siblings[pos - 1]) |
| 2053 | }; |
| 2054 | if next_parent == Some(key) || current_parent == next_parent { |
nothing calls this directly
no test coverage detected