(path: &[ValuePathStep])
| 3753 | quat_mode: &str, |
| 3754 | ) -> Vec<String> { |
| 3755 | if kind == "Color" { |
| 3756 | return Vec::new(); |
| 3757 | } |
| 3758 | if kind == "Quat" |
| 3759 | && quat_mode == "euler" |
| 3760 | && let SceneValue::Vec4 { x, y, z, w } = value |
| 3761 | { |
| 3762 | return quat_to_euler_deg_components(*x, *y, *z, *w); |
| 3763 | } |
| 3764 | scene_value_component_texts(value) |
| 3765 | } |
| 3766 | |
| 3767 | fn color_preview_for_value( |
| 3768 | name: &str, |
| 3769 | value: &SceneValue, |
| 3770 | path_key: &str, |
| 3771 | color_paths: &[String], |