diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-28 08:01:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-28 08:12:56 +0400 |
commit | dc3f9b9c3ee64e2f98eba5eca882daf3035e0503 (patch) | |
tree | dbe60b78f555dd1b0df85caa5b9088387fa65751 /source/blender/editors/space_view3d/view3d_intern.h | |
parent | 62bf24a5c3ec244cfdfea16b446e2de2e593181d (diff) |
View3D: split camera controlling parts of fly mode into their own functions
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_intern.h')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_intern.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index a496bbba72f..9bca5345e82 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -204,6 +204,20 @@ void viewdolly_modal_keymap(struct wmKeyConfig *keyconf); void VIEW3D_OT_properties(struct wmOperatorType *ot); void view3d_buttons_register(struct ARegionType *art); +/* view3d_camera_control.c */ +struct View3DCameraControl *ED_view3d_cameracontrol_aquire( + Scene *scene, View3D *v3d, RegionView3D *rv3d, + const bool use_parent_root); +void ED_view3d_cameracontrol_update( + struct View3DCameraControl *vctrl, + const bool use_autokey, + struct bContext *C, const bool do_rotate, const bool do_translate); +void ED_view3d_cameracontrol_release( + struct View3DCameraControl *vctrl, + const bool restore); +Object *ED_view3d_cameracontrol_object_get( + struct View3DCameraControl *vctrl); + /* view3d_toolbar.c */ void VIEW3D_OT_toolshelf(struct wmOperatorType *ot); void view3d_toolshelf_register(struct ARegionType *art); |