diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-03 11:29:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-03 11:29:25 +0400 |
commit | a947ea0a1eb6092ba76c27ee6613d17548ed3321 (patch) | |
tree | 5231033121c2fa1b4b7cb06f0ad7984ee48b343c /source/blender/editors/include/ED_view3d.h | |
parent | 2a78a1436934590d4762e79c50e85be466d3914f (diff) |
disable view3d dolly, move, pan -- when the view offset is locked, also corrected fly modes offset lock check
and added ED_view3d_offset_lock_check() to reuse between functions.
Diffstat (limited to 'source/blender/editors/include/ED_view3d.h')
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index b303d00b6fd..b111295fa26 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -298,6 +298,8 @@ bool ED_view3d_lock(struct RegionView3D *rv3d); uint64_t ED_view3d_datamask(struct Scene *scene, struct View3D *v3d); uint64_t ED_view3d_screen_datamask(struct bScreen *screen); +bool ED_view3d_offset_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); + /* camera lock functions */ bool ED_view3d_camera_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); /* copy the camera to the view before starting a view transformation */ |