cad-editor/src/app
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hakan Seven 56d507fd88 refactor: remove dead world_offset plumbing (RTE migration is complete)
Now that geometry reaches the GPU/CPU as absolute coordinates via the
double-single relative-to-eye path, world_offset is always [0,0,0]. Strip
the parameter that was threaded through the whole tessellation / block-
expansion / fallback / camera-decode chain and the ExpandCtx field that
carried it — ~340 references across 20 files, all subtracting zero.

- truck_tess: to_local / to_local_low / tessellate_* drop the offset arg;
  to_local is now a pure double-single split.
- tessellate: offset_to_ds → points_to_ds (pure DS split); tessellate(),
  tessellate_entity(), fallback_geometry(), solid_wire_fallback(),
  entity_aabb(), expand_insert(), expand_block_meshes(), the dimension
  helpers (vec3_local, dimension_snap_pts, …), text_support, leader,
  multileader, image_model, xclip and camera_from_view all lose the param.
- block_cache: ExpandCtx loses its world_offset field.
- Remove the now-dead offset_snap_pts and the unused set_grid_snap.

Behaviour is unchanged (the offset was zero everywhere); the compiler
verifies every call site.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 18:35:02 +03:00
..
automation.rs feat(f64): command layer compiles on DVec3 2026-06-24 03:51:50 +03:00
cmd_result.rs refactor: remove dead world_offset plumbing (RTE migration is complete) 2026-06-24 18:35:02 +03:00
commands.rs feat(ucs): per-viewport UCS applied inside floating viewports 2026-06-24 17:23:29 +03:00
document.rs feat(ucs): per-viewport UCS applied inside floating viewports 2026-06-24 17:23:29 +03:00
expr_eval.rs Implement Expression Evaluation for numerical inputs and the CLI 2026-06-07 13:17:46 -04:00
helpers.rs fix(paste): UTM-precise paste/block base via f64 centroid 2026-06-24 10:42:58 +03:00
history.rs perf(hash): swap std HashMap/HashSet for rustc-hash FxHash 2026-06-05 00:35:53 +03:00
layers.rs fix(ribbon): load style/layer dropdowns from the document 2026-06-12 01:46:17 +03:00
mod.rs fix(paste): UTM-precise paste/block base via f64 centroid 2026-06-24 10:42:58 +03:00
model_ops.rs refactor(scene): rename model_solid to solid_model 2026-06-16 11:39:31 +03:00
mtext_editor.rs refactor: remove dead world_offset plumbing (RTE migration is complete) 2026-06-24 18:35:02 +03:00
plugin_host.rs fix(xclip): precise clip + carry clip across cross-drawing paste 2026-06-24 09:33:55 +03:00
properties.rs refactor(scene): remove the world_offset field (P7) 2026-06-23 22:42:33 +03:00
settings.rs merge: TEXTEDIT command + TEXTEDITMODE sysvar (#130) 2026-06-21 12:05:54 +03:00
style_ops.rs chore: clear compiler warnings 2026-06-18 21:18:09 +03:00
text_inline.rs feat(ucs): orient text-bearing annotations to the active UCS 2026-06-22 18:18:35 +03:00
update.rs feat(ucs): per-viewport UCS applied inside floating viewports 2026-06-24 17:23:29 +03:00
view.rs feat(ucs): per-viewport UCS applied inside floating viewports 2026-06-24 17:23:29 +03:00
visibility.rs refactor(scene): group modules into role-based subfolders 2026-06-16 11:33:46 +03:00