FIX:Fix unsaved height_range cursor data to backend

jira: STUDIO-10915
Change-Id: I6f97c194e648ecf970a825352efe8b8dc6875388
This commit is contained in:
zhou.xu 2025-03-20 11:24:57 +08:00 committed by lane.wei
parent 7901e9fbaa
commit 358c289d4c
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ void GLGizmoPainterBase::render_cursor_height_range(const Transform3d& trafo) co
if (is_valid_height_range_cursor(min_z, max_z)) {
m_is_set_height_start_z_by_imgui = true;
const_cast<GLGizmoPainterBase &>(*this).gizmo_event(SLAGizmoEventType::LeftDown, Vec2d(0, 0), false, false, false);
const_cast<GLGizmoPainterBase &>(*this).gizmo_event(SLAGizmoEventType::LeftUp, Vec2d(0, 0), false, false, false);
m_is_set_height_start_z_by_imgui = false;
}
m_rr.mesh_id = -1; // exit