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>2015-04-23 17:12:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-23 17:18:42 +0300
commit27e03dcd21872d9daf73adf42c69c04c5806ac07 (patch)
tree9e13fe7835e178603accadf343be26e114734187 /source/blender/makesdna
parent22b564f93ef4bd7c981a7986addf5fe466954592 (diff)
Fix T44422: Zoom to mouse fails in camera view
Camera now supports all zoom styles too.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 66ee1fe4242..a0516590d43 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -379,6 +379,9 @@ enum {
#define RV3D_CAMZOOM_MIN -30
#define RV3D_CAMZOOM_MAX 600
-#endif
+/* #BKE_screen_view3d_zoom_to_fac() values above */
+#define RV3D_CAMZOOM_MIN_FACTOR 0.1657359312880714853f
+#define RV3D_CAMZOOM_MAX_FACTOR 44.9852813742385702928f
+#endif