diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 14:31:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-04 14:45:13 +0400 |
commit | 0b5d0f981860c985bf4f58f9c8c5a13e948c967f (patch) | |
tree | b605b336da250af29ac4c52b611a8d4c4f8252de /source/blender/editors/include | |
parent | a82700b9610074b74a98c0e6b979c13c3db2483d (diff) |
View3d: move lock check for orbit into a function and use for dolly too
Diffstat (limited to 'source/blender/editors/include')
-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 a76c904acdd..c10afd682fd 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -313,6 +313,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_view_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); + bool ED_view3d_offset_lock_check(struct View3D *v3d, struct RegionView3D *rv3d); /* camera lock functions */ |