SPE-1675 - Do not update layer editing when the mouse cursor is moved outside of the 3D scene while dragging
This commit is contained in:
parent
9de269889c
commit
bbea397aa6
@ -6244,10 +6244,10 @@ void GLCanvas3D::_perform_layer_editing_action(wxMouseEvent* evt)
|
|||||||
m_layers_editing.last_action =
|
m_layers_editing.last_action =
|
||||||
evt->ShiftDown() ? (evt->RightIsDown() ? LAYER_HEIGHT_EDIT_ACTION_SMOOTH : LAYER_HEIGHT_EDIT_ACTION_REDUCE) :
|
evt->ShiftDown() ? (evt->RightIsDown() ? LAYER_HEIGHT_EDIT_ACTION_SMOOTH : LAYER_HEIGHT_EDIT_ACTION_REDUCE) :
|
||||||
(evt->RightIsDown() ? LAYER_HEIGHT_EDIT_ACTION_INCREASE : LAYER_HEIGHT_EDIT_ACTION_DECREASE);
|
(evt->RightIsDown() ? LAYER_HEIGHT_EDIT_ACTION_INCREASE : LAYER_HEIGHT_EDIT_ACTION_DECREASE);
|
||||||
}
|
|
||||||
|
|
||||||
m_layers_editing.adjust_layer_height_profile();
|
m_layers_editing.adjust_layer_height_profile();
|
||||||
_refresh_if_shown_on_screen();
|
_refresh_if_shown_on_screen();
|
||||||
|
}
|
||||||
|
|
||||||
// Automatic action on mouse down with the same coordinate.
|
// Automatic action on mouse down with the same coordinate.
|
||||||
_start_timer();
|
_start_timer();
|
||||||
|
Loading…
Reference in New Issue
Block a user