fix(view): correct 3D mesh interaction

Sync projection controls from the active camera, preserve the UCS icon in perspective views, and use visible or selected 3D geometry for orbit pivots. Dense mesh vertex grips remain hidden.
This commit is contained in:
Hakan Seven committed 2026-08-12 19:49:52 +03:00
1 parent 1045283082
commit 0df2356243
6 files changed
+136 -80

No files matched your search

+1 -5
View File
@@ -1101,11 +1101,7 @@ impl RenderConvertible for Mesh {
impl Grippable for Mesh {
fn grips(&self) -> Vec<GripDef> {
self.vertices
.iter()
.enumerate()
.map(|(i, v)| square_grip(i, glam::DVec3::new(v.x, v.y, v.z)))
.collect()
Vec::new()
}
fn apply_grip(&mut self, grip_id: usize, apply: GripApply) {