fix: respect drawing units in annotation scales

This commit is contained in:
gianlucafiore committed 2026-08-12 23:41:22 -03:00
1 parent 5b9fffdfba
commit e21d4954a3
3 files changed
+29 -13

No files matched your search

+1 -1
View File
@@ -3112,7 +3112,7 @@ impl Scene {
}
let context_scale = match self.document.objects.get(&scale) {
Some(acadrust::objects::ObjectType::Scale(value)) => {
value.inverse_factor() as f32
(value.inverse_factor() / self.annotation_scale_unit_factor()) as f32
}
_ => annotation_scale,
};