forked from 1b-agent/opencadstudio-upstream
Merge pull request #1642 from ramox81/codex/sweep-corner-followups
This commit is contained in:
commit
737981791b
29 files changed
+482
-108
No files matched your search
@@ -3951,11 +3951,21 @@ pub(super) fn on_tab_close(&mut self, idx: usize) -> Task<Message> {
|
||||
if crate::scene::model::solid_history::is_primitive_property(
|
||||
field,
|
||||
) {
|
||||
self.tabs[i].scene.apply_solid_history_property(
|
||||
if !self.tabs[i].scene.apply_solid_history_property(
|
||||
handle,
|
||||
field,
|
||||
&val,
|
||||
);
|
||||
) {
|
||||
if let Some(code) = self.tabs[i]
|
||||
.scene
|
||||
.solid_history_property_refusal(handle, field, &val)
|
||||
{
|
||||
self.command_line.push_output(crate::t!("Modeling Operation Error:").as_ref());
|
||||
self.command_line.push_output(
|
||||
crate::tf!("Error Code Number is {code}", code = code).as_ref(),
|
||||
);
|
||||
}
|
||||
}
|
||||
} else if self.tabs[i]
|
||||
.scene
|
||||
.apply_solid_position_property(
|
||||
|
||||
Reference in new issue
Block a user