-
Notifications
You must be signed in to change notification settings - Fork 1
New wireframe modeling command #912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -1726,13 +1726,29 @@ define_modeling_cmd_enum! { | |||||||||
/// Which units the `value` field uses. | ||||||||||
pub units: units::UnitLength, | ||||||||||
} | ||||||||||
|
||||||||||
/// Set the grid lines to auto scale. The grid will get larger the further you zoom out, | ||||||||||
/// and smaller the more you zoom in. | ||||||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema, ModelingCmdVariant)] | ||||||||||
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))] | ||||||||||
#[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))] | ||||||||||
pub struct SetGridAutoScale { | ||||||||||
} | ||||||||||
|
||||||||||
/// Set the grid lines to auto scale. The grid will get larger the further you zoom out, | ||||||||||
/// and smaller the more you zoom in. | ||||||||||
Comment on lines
+1738
to
+1739
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The documentation comment for the
Suggested change
Spotted by Diamond |
||||||||||
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize, JsonSchema, ModelingCmdVariant)] | ||||||||||
#[cfg_attr(feature = "ts-rs", derive(ts_rs::TS))] | ||||||||||
#[cfg_attr(feature = "ts-rs", ts(export_to = "ModelingCmd.ts"))] | ||||||||||
pub struct Wireframe { | ||||||||||
/// Which object to render in wireframe. | ||||||||||
pub object_id: Uuid, | ||||||||||
/// Enable wireframe or not | ||||||||||
pub wireframe: bool, | ||||||||||
/// Show the mesh wires too | ||||||||||
pub mesh_wires: bool, | ||||||||||
} | ||||||||||
|
||||||||||
} | ||||||||||
} | ||||||||||
|
||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This text needs updating.