Skip to content

Step2: add preview when draggin. Step3 : scrollable list of edges. - #630

Merged
JanuszBedkowski merged 2 commits into
mainfrom
mp/fix_629
Nov 11, 2026
Merged

JanuszBedkowski merged 2 commits into
mainfrom
mp/fix_629

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

No description provided.

michalpelka and others added 2 commits November 9, 2026 00:27
Dragging a segment gizmo in the LIO segments editor wrote m_pose every
frame, so ScanRenderer::syncPoses() re-transformed and re-uploaded every
moved scan (the segment and all following ones) each frame.

Port step 3's drag-preview scheme: while ImGuizmo::IsUsing(), keep the
in-progress pose chain in gizmo_drag_preview_poses and draw those scans
from their cached GPU buffers via drawCachedWithTransform(); commit to
m_pose once when the drag ends, rebuilding the scans immediately so the
release frame doesn't flash the pre-drag pose. Selecting a gizmo no
longer rewrites the pose through float every frame.

Move the segment gizmo into lioSegmentsGizmo(), run only while the LIO
segments editor is open, and commit an orphaned drag in
commitGizmoDragIfOrphaned(). Replace element-wise m_gizmo copies with
Eigen::Map.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The edge list in the Manual Pose Graph Loop Closure window grew the
auto-resizing window with every edge, pushing the active-edge controls
off screen. Put it in a bordered scrollable child, as step 2's LIO
segments list, capped at 10 rows, and scroll to the active edge when
it changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JanuszBedkowski
JanuszBedkowski merged commit 5e7c1a4 into main Nov 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants