Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-15 06:39:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-15 06:39:36 +0400
commitbaa64d17516c444e777b06850b459fd965dc741f (patch)
tree383908edeb2fc45a5ccad80c028e39ac1863de85 /source/blender/editors/include
parent7e5ff01f4aada4b8e3f105ecf68b1ddbab7ccbf8 (diff)
fix for user reported issues
- camera object movement was missing a notifier - auto perspective now works when rotating the view. - shift+b now zooms.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_view3d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h
index ec1c112d42e..ee188f9afd4 100644
--- a/source/blender/editors/include/ED_view3d.h
+++ b/source/blender/editors/include/ED_view3d.h
@@ -193,7 +193,10 @@ void ED_view3d_from_m4(float mat[][4], float ofs[3], float quat[4], float *dist)
void ED_view3d_from_object(struct Object *ob, float ofs[3], float quat[4], float *dist, float *lens);
void ED_view3d_to_object(struct Object *ob, const float ofs[3], const float quat[4], const float dist);
+/* camera lock functions */
+/* copy the camera to the view before starting a view transformation */
void ED_view3d_camera_lock_init(struct View3D *v3d, struct RegionView3D *rv3d);
+/* copy the view to the camera */
void ED_view3d_camera_lock_sync(struct View3D *v3d, struct RegionView3D *rv3d);
int view3d_is_ortho(struct View3D *v3d, struct RegionView3D *rv3d);