forked from 1b-agent/opencadstudio-upstream
1 parent
0038e386f7
commit
7a8da58d55
12 files changed
+352
-120
No files matched your search
@@ -14,7 +14,15 @@ impl OpenCADStudio {
|
||||
true
|
||||
}
|
||||
|
||||
fn refresh_area_preview(&mut self, i: usize) {
|
||||
pub(super) fn refresh_area_preview(&mut self, i: usize) {
|
||||
let hatches = self.tabs[i]
|
||||
.active_cmd
|
||||
.as_ref()
|
||||
.and_then(|command| command.hatch_preview_models());
|
||||
if let Some(hatches) = hatches {
|
||||
self.tabs[i].scene.set_command_preview_hatches(hatches);
|
||||
return;
|
||||
}
|
||||
let regions = self.tabs[i]
|
||||
.active_cmd
|
||||
.as_ref()
|
||||
|
||||
Reference in new issue
Block a user