Fix #114687: Orbit opposite changes view to perspective
When `VIEWOPS_FLAG_PERSP_ENSURE` is set, it switches view to perspective in `ED_view3d_persp_ensure` which is incorrect for orbit operation. Pull Request: https://projects.blender.org/blender/blender/pulls/114698
This commit is contained in:
committed by
Pratik Borhade
parent
c05faeb053
commit
ab2198d77b
@@ -185,7 +185,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot)
|
||||
/** \} */
|
||||
|
||||
const ViewOpsType ViewOpsType_orbit = {
|
||||
/*flag*/ (VIEWOPS_FLAG_PERSP_ENSURE | VIEWOPS_FLAG_ORBIT_SELECT),
|
||||
/*flag*/ VIEWOPS_FLAG_ORBIT_SELECT,
|
||||
/*idname*/ "VIEW3D_OT_view_orbit",
|
||||
/*poll_fn*/ nullptr,
|
||||
/*init_fn*/ nullptr,
|
||||
|
||||
Reference in New Issue
Block a user