diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-12-12 20:56:19 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-12-12 20:56:19 +0300 |
commit | 6f78cdd79f4bd8229dc09a16b3c4cfb316e4c50c (patch) | |
tree | b22c527b1d208bf50b928008440506af81fc91a0 /source/blender/include/BSE_view.h | |
parent | 2ef5af67ca4075b16edd112788420d338f5b5e41 (diff) |
view.c
* Renamed view_autodist to view_mouse_depth
* Accept args for mouse location and pixel distance around the hotspot used to lookup the depth.
* removed persp(PERSP_VIEW) within this function, since it didnt set the view back.
imagepaint.c
* normal falloff now works as Brecht suggests. Normal limit of 80 will blend between 80 and 85deg, 70deg limit blends between 70-80deg.
* convert normal falloff to radians on initializing rather then on every comparison.
* Ctrl+Click setting the cursor in its own function.
* projection painting wasnt accounting for an exception for too high pressure values on first touch in windows for some tablets.
* removed grease pencil benchmark function
Diffstat (limited to 'source/blender/include/BSE_view.h')
-rw-r--r-- | source/blender/include/BSE_view.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h index f7afce958f5..55363bcf1f4 100644 --- a/source/blender/include/BSE_view.h +++ b/source/blender/include/BSE_view.h @@ -80,6 +80,7 @@ void viewmove(int mode); void viewmoveNDOFfly(int mode); void viewmoveNDOF(int mode); void view_zoom_mouseloc(float dfac, short *mouseloc); +int view_mouse_depth( float mouse_worldloc[3], short mval[2], int dist); int get_view3d_viewplane(int winxi, int winyi, rctf *viewplane, float *clipsta, float *clipend, float *pixsize); void setwinmatrixview3d(int winx, int winy, struct rctf *rect); |