Fix linetype refresh and circle rendering

This commit is contained in:
gianlucafiore authored and Hakan Seven committed 2026-08-06 23:35:16 +03:00
1 parent 30b8974b73
commit 6752df6ea4
2 files changed
+12 -3

No files matched your search

+2
View File
@@ -1887,6 +1887,8 @@ impl OpenCADStudio {
if v > 0.0 {
self.push_undo_snapshot(i, "LTSCALE");
self.tabs[i].scene.document.header.linetype_scale = v;
// LTSCALE affects the cached linetype geometry of the whole drawing.
self.tabs[i].scene.bump_geometry();
self.tabs[i].dirty = true;
self.command_line
.push_output(crate::tf!("LTSCALE set to {v:.4}").as_ref());