forked from 1b-agent/opencadstudio-upstream
Merge PR #1000: cache selection filter entity types
This commit is contained in:
commit
92e1dfd685
4 files changed
+51
-12
No files matched your search
@@ -3687,8 +3687,8 @@ impl OpenCADStudio {
|
||||
let i = self.active_tab;
|
||||
let types = self.tabs[i].scene.entity_type_names_in_layout();
|
||||
let f = &mut self.tabs[i].scene.selection_filter;
|
||||
for t in types {
|
||||
f.insert(t.to_string());
|
||||
for t in types.iter() {
|
||||
f.insert(t.clone());
|
||||
}
|
||||
Task::none()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user