Skip to content
Snippets Groups Projects
Commit ab2198d7 authored by Pratik Borhade's avatar Pratik Borhade Committed by Pratik Borhade
Browse files

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
parent c05faeb0
No related branches found
Tags
No related merge requests found
...@@ -185,7 +185,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot) ...@@ -185,7 +185,7 @@ void VIEW3D_OT_view_orbit(wmOperatorType *ot)
/** \} */ /** \} */
const ViewOpsType ViewOpsType_orbit = { const ViewOpsType ViewOpsType_orbit = {
/*flag*/ (VIEWOPS_FLAG_PERSP_ENSURE | VIEWOPS_FLAG_ORBIT_SELECT), /*flag*/ VIEWOPS_FLAG_ORBIT_SELECT,
/*idname*/ "VIEW3D_OT_view_orbit", /*idname*/ "VIEW3D_OT_view_orbit",
/*poll_fn*/ nullptr, /*poll_fn*/ nullptr,
/*init_fn*/ nullptr, /*init_fn*/ nullptr,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment