Commit Graph

279 Commits

Author SHA1 Message Date
ca5871c26f reverting part of rev40594.
Pardoon, looks like i've forgot to revert current work before
commiting actual patch i wanted to send to the svn.
2011-10-01 13:46:20 +00:00
a25c7f647e navmesh: convert object_navmesh.cpp to plain c. 2011-09-27 09:09:43 +00:00
e1de1214a4 Minor: Other UI strings typos and tweaks. 2011-09-20 07:56:58 +00:00
f157a543c6 /blender/editors: Removed final points in UI strings and messages.
Plus a few cuts in very long lines…
2011-09-19 12:26:20 +00:00
Nathan Letwory
f9ed529bc9 Apply patch [#28415] 3d mouse orbit mode individual axes enhancement
Submitted by Rainer Wahler

This patch enables individual axis inversion in trackball mode.
2011-09-07 10:33:46 +00:00
471c005137 typo fix: end of lines ;; --> ; 2011-08-31 01:07:55 +00:00
01230b1374 fix [#28373] "Lock camera to view" doew not work with 3D-mouse 2011-08-27 11:52:59 +00:00
b7eac1edcf picky style edits with screen/view/drawing, also remove own bad example doc. 2011-08-25 15:49:52 +00:00
3a81f23e09 warning cleanup for -Wdouble-promotion 2011-08-19 16:21:29 +00:00
5dd2b3e06f fixed crash when NDOF operators were called without an NDOF_MOTION event 2011-08-06 22:31:16 +00:00
078dff64d2 no functional changes.
style edits, also renamed ndof_to_angle_axis --> ndof_to_axis_angle
2011-08-02 08:12:50 +00:00
70b4758ff8 Made wmNDOFMotionData use a vector rather then xyz members, makes it nicer to use with math functions.
ndof_to_angle_axis and ndof_to_quat now use math functions.
2011-08-02 07:08:22 +00:00
fcd7d2b486 NDOF related edits
- fix for building without NDOF on X11
- quiet some warnings
2011-08-02 05:52:27 +00:00
Nathan Letwory
73a9ce7ec0 svn merge -r38558:38752 https://svn.blender.org/svnroot/bf-blender/trunk/blender . 2011-07-27 07:42:53 +00:00
f54068719f shift-motion to pan with 3D mouse 2011-07-26 22:43:07 +00:00
37aa6a5e3d onscreen ndof rotation guide (center + axis) 2011-07-26 16:17:00 +00:00
72f70874bb experimental onscreen rotation guide 2011-07-26 02:35:46 +00:00
4b8233423b invert axes option affects trackball navigation 2011-07-25 03:13:15 +00:00
c692351fdf added option to invert axes for orbiting (part 1 of 2) 2011-07-25 00:20:45 +00:00
b0c8abf04e removed unused ndof code 2011-07-14 22:01:09 +00:00
cc1ba4569c more consistent and modal-friendly ndof events, fly mode v1 2011-07-14 21:20:45 +00:00
44d2e6eb10 disable old ndof fly (new stuff en route from another machine) 2011-07-14 03:28:31 +00:00
50ef78cdb8 various fixes to enable MSVC build, removed crusty old Win32 ndof code 2011-07-06 18:50:59 +00:00
e3c89a127d refitted old ndof fly code for 2.5, removed crusty old code 2011-07-06 17:10:38 +00:00
893bf5f81a verbose ndof event trace for a tester 2011-07-01 03:44:03 +00:00
4178b662cc enabled pan/zoom in rotation-locked 3D views + small cleanup 2011-06-28 15:59:46 +00:00
798f59fe68 Mac ndof using blender view coordinates + small but important typo fixed 2011-06-27 20:44:23 +00:00
edd5980436 now using blender view coordinates for ndof input -- core and Linux in place 2011-06-27 20:12:10 +00:00
b8e8f8064d NDOF zoom for orbit modes (trackball/turntable) in 3D view 2011-06-25 18:53:06 +00:00
4030f82aad ndof trackball works... somehow 2011-06-20 21:34:23 +00:00
Nathan Letwory
0faeffb8a5 Compile fix. Note that var introduction must happen at start of code block. 2011-06-20 13:04:11 +00:00
015b0ea00a small fix to turntable mode, first attempt at trackball code, ndof now respects view locking and updates 'User Persp' etc. 2011-06-20 01:54:49 +00:00
7b124242e7 SpaceNav works on Linux 2011-06-11 00:25:48 +00:00
e75ff53452 migrated NDOF code from soc-2010-merwin, SpaceNavigator now works on Mac blender 2011-06-08 21:18:03 +00:00
a43309e8d4 Added cancel callbacks to modal operators which allocates memory
in invoke callback. This prevents unfreed memory blocks when quiting
Bledner with modal operator running.
2011-06-06 11:04:54 +00:00
9b5800bcd7 fixed "rather then" -> "rather than" typos all over the place 2011-05-28 13:11:24 +00:00
6357b12641 fix [#27462] Linked Object (camera) can be moved by Lock Camera to View 2011-05-23 15:46:09 +00:00
af49b5f6c9 own recent commit broke zoom to mouseloc 2011-05-23 02:59:29 +00:00
b222863336 fix [#27459] Flymode moves parent
for durian we had camera rigs which needed to have the parent transformed rather then the camera, for this reason I made fly mode fly the parent rather then the camera its self.

Make this a preference and use this for view camera/view locking too.
2011-05-23 02:53:30 +00:00
0d26333eb5 fix view3d_persp_mat4, which gave incorrect translation, rename to ED_view3d_to_m4. added doxygen docs. 2011-05-23 02:23:03 +00:00
04e157304a - view dolly now quits on pressing escape (if activated from the search menu).
- adding new bones now makes them active.
2011-05-22 11:36:56 +00:00
e038b25579 view3d function naming, no functional changes. 2011-05-21 08:56:37 +00:00
259582235c error in recent commit. 2011-05-20 16:43:23 +00:00
363bfdc46a use consistant arguments to ED_view3d_win_* funcs, a single float vector rather then 2 floats. 2011-05-20 13:50:41 +00:00
53d5761c94 function rename to give clearer meaning that they change from window to 3d coordinates.
some functions had vague names, I even ended up re-writing some of these functions by accident!
also added doxy comments.

* ED_view3d_win_to_3d (was window_to_3d)
* ED_view3d_win_to_delta (was window_to_3d_delta)
* ED_view3d_win_to_vector (was window_to_3d_vector / viewvector)
* ED_view3d_win_to_segment_clip (was viewline)
* ED_view3d_win_to_ray (was viewray)
2011-05-20 13:09:34 +00:00
c833fff638 replace checks with rv3d->persp with rv3d->is_persp since in these cases it only matters if its a perspective view matrix, this wouldn't work right for camera views. 2011-05-20 11:15:44 +00:00
4916c44af8 simplify window_to_3d_vector() and call it from viewline()
also update python view function to match.
2011-05-20 10:28:40 +00:00
9f766c71b0 use event->mval rather then subtracting ar->winrct.x / y from event->x / y 2011-05-20 07:40:05 +00:00
984d2e42e4 make api functions for converting rv3d->camzoom, so the odd logic for this isn't inlined all over. 2011-05-20 04:14:29 +00:00
2f4813500c - mousewheel zoom now zooms camera area when the camera is locked and in ortho view.
- remove secret apricot feature now dolly is its own operator.
2011-05-19 17:19:05 +00:00