fix(properties): refresh scene after property edits

This commit is contained in:
Hakan Seven 2026-06-08 22:53:55 +03:00
commit 28b5e1367a
2 changed files with 24 additions and 9 deletions

View file

@ -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);