SLA gizmo clipping plane is now not necessarily perpendicular to camera direction

This commit is contained in:
Lukas Matena 2019-04-17 12:24:46 +02:00
parent 8df2a19974
commit 0c1e223414
4 changed files with 78 additions and 44 deletions

View file

@ -778,6 +778,16 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt, GLCanvas3D& canvas)
break;
}
case 'r' :
case 'R' :
{
if ((m_current == SlaSupports) && gizmo_event(SLAGizmoEventType::ResetClippingPlane))
processed = true;
break;
}
#ifdef __APPLE__
case WXK_BACK: // the low cost Apple solutions are not equipped with a Delete key, use Backspace instead.
#else /* __APPLE__ */