forked from 1b-agent/opencadstudio-upstream
fix: respect drawing units in annotation scales
This commit is contained in:
1 parent
5b9fffdfba
commit
e21d4954a3
3 files changed
+29
-13
No files matched your search
@@ -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,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user