CutGizmo: Allow to cut by line when only one cut part is selected.
+ Updated splashscreen
This commit is contained in:
parent
bf0cef30e0
commit
bfb60875fa
Binary file not shown.
Before Width: | Height: | Size: 96 KiB After Width: | Height: | Size: 142 KiB |
@ -2323,13 +2323,16 @@ void GLGizmoCut3D::process_selection_rectangle(CutConnectors &connectors)
|
|||||||
|
|
||||||
bool GLGizmoCut3D::gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position, bool shift_down, bool alt_down, bool control_down)
|
bool GLGizmoCut3D::gizmo_event(SLAGizmoEventType action, const Vec2d& mouse_position, bool shift_down, bool alt_down, bool control_down)
|
||||||
{
|
{
|
||||||
if (is_dragging() || m_connector_mode == CutConnectorMode::Auto || (!m_keep_upper || !m_keep_lower))
|
if (is_dragging() || m_connector_mode == CutConnectorMode::Auto)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ( m_hover_id < 0 && shift_down && ! m_connectors_editing &&
|
if ( m_hover_id < 0 && shift_down && ! m_connectors_editing &&
|
||||||
(action == SLAGizmoEventType::LeftDown || action == SLAGizmoEventType::LeftUp || action == SLAGizmoEventType::Moving) )
|
(action == SLAGizmoEventType::LeftDown || action == SLAGizmoEventType::LeftUp || action == SLAGizmoEventType::Moving) )
|
||||||
return process_cut_line(action, mouse_position);
|
return process_cut_line(action, mouse_position);
|
||||||
|
|
||||||
|
if (!m_keep_upper || !m_keep_lower)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!m_connectors_editing) {
|
if (!m_connectors_editing) {
|
||||||
if (0 && action == SLAGizmoEventType::LeftDown) {
|
if (0 && action == SLAGizmoEventType::LeftDown) {
|
||||||
// disable / enable current contour
|
// disable / enable current contour
|
||||||
|
Loading…
Reference in New Issue
Block a user