forked from 1b-agent/opencadstudio-upstream
fix(snap): preserve OTRACK precision
Keep tracking geometry in f64 until screen projection so typed and dynamic distances no longer expose f32 drift.\n\nCloses #439
This commit is contained in:
1 parent
658aa4a4a5
commit
a413f75548
6 files changed
+116
-130
No files matched your search
+1
-1
@@ -314,7 +314,7 @@ pub(super) struct OpenCADStudio {
|
||||
/// Active OTRACK alignment `(tracking_point, unit_direction)` when the
|
||||
/// cursor is on a tracking ray. Lets a typed distance place a point along
|
||||
/// the ray from the tracking point (issue #69). `None` when not aligned.
|
||||
otrack_active: Option<(glam::Vec3, glam::Vec3)>,
|
||||
otrack_active: Option<(glam::DVec3, glam::DVec3)>,
|
||||
/// Whether Tangent snap was enabled before a tangent-pick command started.
|
||||
pre_cmd_tangent: Option<bool>,
|
||||
/// Drawing defaults captured by ADDSELECTED before it adopts the template
|
||||
|
||||
Reference in new issue
Block a user