mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 01:56:03 +08:00
Fix: Rotation gizmo axis line colors not matches with axis colors (#9427)
Update GLGizmoRotate.cpp
This commit is contained in:
parent
672c115c61
commit
2a6c15d15a
@ -174,7 +174,9 @@ void GLGizmoRotate::on_render()
|
|||||||
render_angle_arc(m_highlight_color, hover_radius_changed);
|
render_angle_arc(m_highlight_color, hover_radius_changed);
|
||||||
}
|
}
|
||||||
|
|
||||||
render_grabber_connection(color, radius_changed);
|
// ORCA dont use axis color on line because they are not on same direction with axis
|
||||||
|
const ColorRGBA line_color = (m_hover_id != -1) ? m_drag_color : ColorRGBA(.6f, .6f ,.6f, 1.f);
|
||||||
|
render_grabber_connection(line_color, radius_changed);
|
||||||
shader->stop_using();
|
shader->stop_using();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user