diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 14:04:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 14:45:13 +0400 |
commit | a82700b9610074b74a98c0e6b979c13c3db2483d (patch) | |
tree | 6ac3c102ee8c0090eeb810e00ef37da598416119 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | 5589016e2446ee80028628cdde034eaeafcd7add (diff) |
Fix for view lock checks with ndof ops, was incorrectly comparing flags
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index ad5f393f956..08ef6910190 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -3375,7 +3375,7 @@ static void view3d_main_area_draw_objects(const bContext *C, ARegion *ar, const BDR_drawSketch(C); } - if ((U.ndof_flag & NDOF_SHOW_GUIDE) && (rv3d->viewlock != RV3D_LOCKED) && (rv3d->persp != RV3D_CAMOB)) + if ((U.ndof_flag & NDOF_SHOW_GUIDE) && ((rv3d->viewlock & RV3D_LOCKED) == 0) && (rv3d->persp != RV3D_CAMOB)) /* TODO: draw something else (but not this) during fly mode */ draw_rotation_guide(rv3d); |