mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-06 14:37:36 -06: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
1 changed files with 3 additions and 1 deletions
|
@ -174,7 +174,9 @@ void GLGizmoRotate::on_render()
|
|||
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue