fix(properties): refresh scene after property edits
This commit is contained in:
parent
a255910925
commit
28b5e1367a
2 changed files with 24 additions and 9 deletions
|
|
@ -461,6 +461,13 @@ impl OpenCADStudio {
|
|||
}
|
||||
}
|
||||
|
||||
pub(super) fn invalidate_property_targets(&mut self, i: usize, handles: &[Handle]) {
|
||||
for &handle in handles {
|
||||
self.tabs[i].scene.mark_entity_dirty(handle);
|
||||
}
|
||||
self.tabs[i].scene.bump_geometry_no_blocks();
|
||||
}
|
||||
|
||||
/// Add an entity to the correct space (model or paper space layout).
|
||||
pub(super) fn commit_entity(&mut self, entity: acadrust::EntityType) {
|
||||
let _ = self.commit_entity_handle(entity);
|
||||
|
|
|
|||
Loading…
Reference in a new issue