docs: reattach the Properties helper doc comments to their functions

Three doc paragraphs had stacked above one helper, so each described the
function after the one it sits on.

Co-Authored-By: Claude Opus 5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5 committed 2026-09-22 13:37:55 +03:00
1 parent 967d5ec9c2
commit 8fefff5d2b
1 file changed
+5 -5
+5 -5
View File
@@ -3702,11 +3702,6 @@ fn set_row(sections: &mut [crate::scene::model::object::PropSection], field: &st
}
}
/// Replace a row's value with an arbitrary control (editable field, dropdown,
/// colour picker …) rather than plain read-only text.
/// A dimensional constraint's Properties as the reference shows them: the
/// Constraint rows, then only the text rotation for a dynamic dimension
/// and the full dimension sections for an annotational one.
/// A Yes/No list row, as the reference shows on/off object properties.
fn yes_no_choice(flag: bool) -> crate::scene::model::object::PropValue {
crate::scene::model::object::PropValue::Choice {
@@ -3715,6 +3710,9 @@ fn yes_no_choice(flag: bool) -> crate::scene::model::object::PropValue {
}
}
/// A dimensional constraint's Properties as the reference shows them: the
/// Constraint rows, then only the text rotation for a dynamic dimension
/// and the full dimension sections for an annotational one.
fn dynamic_dimension_sections(
scene: &crate::scene::Scene,
handle: Handle,
@@ -3850,6 +3848,8 @@ fn dynamic_dimension_sections(
result
}
/// Replace a row's value with an arbitrary control (editable field, dropdown,
/// colour picker …) rather than plain read-only text.
fn set_row_value(
sections: &mut [crate::scene::model::object::PropSection],
field: &str,