Fix T38472: allow orbiting locked view when they are already 'user'.

This commit is contained in:
Campbell Barton 2014-02-04 19:45:22 +11:00
parent 6a2c467443
commit bb36037c15
Notes: blender-bot 2023-02-14 11:15:39 +01:00
Referenced by issue #38472, Quad view lock view problem...
1 changed files with 2 additions and 1 deletions

View File

@ -985,7 +985,8 @@ static int viewrotate_invoke(bContext *C, wmOperator *op, const wmEvent *event)
viewops_data_create(C, op, event);
vod = op->customdata;
if (vod->rv3d->viewlock) { /* poll should check but in some cases fails, see poll func for details */
/* poll should check but in some cases fails, see poll func for details */
if (vod->rv3d->viewlock && RV3D_VIEW_IS_AXIS(vod->rv3d->view)) {
viewops_data_free(C, op);
return OPERATOR_PASS_THROUGH;
}