Fix #108814: Right Click doesn't cancel 3D View navigation
Entry for `VIEW_MODAL_CANCEL` was not included during refactor of
navigation operators (67203c0ec8)
Pull Request: https://projects.blender.org/blender/blender/pulls/108876
This commit is contained in:
committed by
Pratik Borhade
parent
4e104d77c7
commit
dc7678ecfa
@@ -97,6 +97,8 @@ static eV3D_OpEvent view3d_navigate_event(ViewOpsData *vod, const wmEvent *event
|
||||
{
|
||||
if (event->type == EVT_MODAL_MAP) {
|
||||
switch (event->val) {
|
||||
case VIEW_MODAL_CANCEL:
|
||||
return VIEW_CANCEL;
|
||||
case VIEW_MODAL_CONFIRM:
|
||||
return VIEW_CONFIRM;
|
||||
case VIEWROT_MODAL_AXIS_SNAP_ENABLE:
|
||||
|
||||
Reference in New Issue
Block a user