forked from 1b-agent/opencadstudio-upstream
Dynamic dimensions: constant screen size, transform keeps the second constraint point
Every dynamic dimension gets a DIMSCALE override for 12 px text, refreshed per zoom band, at creation and after load. A SCALE/ROTATE of an entity whose own end points a driving dimension measures now pins its second constraint point so the dimension moves the first end, as the reference does. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
1 parent
971abe64a4
commit
0b5c686371
6 files changed
+75
-4
No files matched your search
@@ -2810,6 +2810,9 @@ impl Scene {
|
||||
|
||||
pub(crate) fn load_parametric_constraints_from_document(&mut self) {
|
||||
self.parametric_constraints.clear();
|
||||
// Dynamic dimensions read from the file get their screen size on the
|
||||
// first tick after the view is known.
|
||||
self.dynamic_dimension_band = 0.0;
|
||||
let owners: Vec<_> = self
|
||||
.document
|
||||
.block_records
|
||||
|
||||
Reference in new issue
Block a user