Commit Graph

1242 Commits

Author SHA1 Message Date
4bf887d4d3 SpaceNav works in 3D view on Windows. Cleaned up related WIP code. 2010-08-10 09:51:22 +00:00
ced1bd9e7d Windows shell/IE #define. 2010-08-08 05:08:35 +00:00
757f75b768 merged 30707:31141 from trunk 2010-08-07 12:51:51 +00:00
f399481251 SpaceNav turntable and fit in 3D view. Tablet data rides with cursor/button events (incomplete! Mac-only for now). Grease pencil works better with pen. 2010-08-07 10:57:15 +00:00
4da55eed8f OSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog 2010-08-01 16:25:00 +00:00
ad623ddd82 merged 29285:30707 from trunk 2010-07-25 10:09:17 +00:00
b0193772da removing Mac C++ file (contents same as Obj-C++ file), since TortoiseSVN's 'rename' forgot to do it 2010-07-25 08:38:13 +00:00
a7ba245fe3 Activated NDOF capture for Windows. Robust++ for generic NDOF manager. Removed experimental Win32 mouse and NDOF code now that good solutions are in place. Cleaned up formatting. 2010-07-24 11:06:08 +00:00
a51ebf247f Renamed Mac file to exclude it from Windows build. Revoke this cowardly commit once I figure out how to properly fix the build script! 2010-07-24 06:49:24 +00:00
c4c46e4403 mostly formatting: put SystemCocoa on a diet of a thousand tabs, also spotted and fixed a leaky switch-case (trackpad gesture for 'rotate') 2010-07-23 10:03:22 +00:00
6216199af8 SpaceNav event capture for MacOS, dispatch for all platforms. To compile this, you need their Mac driver installed and to send '-weak_framework 3DconnexionClient' to the linker. I'm also exploring a HID Manager version, bypassing their driver (and any licensing issues). 2010-07-23 06:45:59 +00:00
47ea957c9d provided a way for NDOF manager to poke SystemCocoa about out-of-loop events 2010-07-23 06:36:08 +00:00
195ad03901 more preliminary NDOF handling stuff (untested) 2010-07-22 09:30:01 +00:00
6c2dee0198 revamped NDOF event system for ghost, added (untested) Mac support 2010-07-22 07:23:41 +00:00
f0167c6a41 get more mouse events only when in hi-fi mode 2010-07-22 07:18:12 +00:00
b86a25efba removed some NDOF plugin-related code 2010-07-22 07:15:00 +00:00
8a4d43427d removed more unused Macintosh Carbon code 2010-07-22 07:10:57 +00:00
1a27b5a74d removed unused Macintosh Carbon code 2010-07-22 07:07:28 +00:00
75410037fd - correct some spelling errors.
- remove FreeCamera struct (wasnt used)
- remove world color alpha values (not used anywhre).
2010-07-20 10:41:08 +00:00
14736cab16 Added rudimentary SpaceNav event capture code for Windows.
Disabled RawInput mouse code.
2010-07-17 05:52:46 +00:00
8a138f4ab2 fixed misspelled variable in Wacom utility 2010-07-17 05:49:41 +00:00
a3e0667e94 Rather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could be added for scons/make too. 2010-07-15 20:25:09 +00:00
f6730216e0 Tweak Windows #includes to require WinXP or newer and speed up build times. 2010-07-15 12:30:16 +00:00
7aa8ae3781 Hi-fi mouse input on Windows!
The remains of a RawInput mouse attempt are included, but disabled. RawInput will still be used for multi-axis devices. 

Eliminated the need for several #defines by requiring WinXP or newer.
2010-07-15 12:24:14 +00:00
5b1925afba Improved tablet support on Windows. Nice deep queue for input points. Much more is being captured now. WT_PACKET events are disabled until I can revisit in a day or two.
Also added Wacom's driver wrappers, with their permission. These won't live here very long, but the WindowWin32 tablet code uses it for now.
2010-07-15 12:12:52 +00:00
56b287bfe6 disabled lo-fi dispatch log to reduce event debugging noise 2010-07-15 11:54:24 +00:00
5505697ac5 Merge GSOC Sculpt Branch: 28499-30319
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins
See log of that branch for details.
2010-07-14 14:11:03 +00:00
ac981c08af Update MSVC project files 2010-07-12 11:37:15 +00:00
ffcec4024b installation paths:
small fix: removed extra slash in system path
2010-07-11 15:30:32 +00:00
6682dae779 Fixed bug [#22555] OSX/Cocoa: Suppress delayed mouse position changed event after setting it 2010-07-09 18:54:44 +00:00
12d7b10c10 added filtered event dispatch for lo-fi mouse/pen input 2010-07-08 01:53:36 +00:00
c468f94f53 fix mingw compile
- seems to have been conflicting #defines for INT, solved by moving #include up
2010-07-06 20:31:55 +00:00
ea183b58d3 Fixed bug [#22757] : hide dock and menu on OSX only when Blender window is maximized to fullscreen on the primary monitor 2010-07-06 19:59:37 +00:00
dd724f2826 File/installation paths: osx (cocoa & carbon) update in ghost 2010-07-05 19:59:37 +00:00
63335f2d10 Fix Makefile for new getUserDir system. 2010-07-05 14:32:15 +00:00
7aca4eec4b compile fix, another missed semicolon - blush 2010-07-05 06:04:24 +00:00
9c4e3a7b6b bugfix [#22724] "Scene" switch on the console doesn't work 2010-07-05 00:00:40 +00:00
ef3f967baf fix for building 2010-07-04 22:35:09 +00:00
f3638488c3 Add missing ";". 2010-07-04 21:36:48 +00:00
646ee52d3a SVN maintenance. 2010-07-04 21:33:01 +00:00
4135f1310c Patch [#22339] File/installation paths changes
Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again

TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...

NOTE:
Things are likely broken for macs
2010-07-04 21:14:59 +00:00
ca81aa704e Patch [#22339] File/installation paths changes
Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127

This patch implements the proposal outlined here:
http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal

Original patch by Matt Ebb.
Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert

NOTE:
This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory.

Commit discussed on IRC with Ton and Campbell.
2010-07-04 15:35:23 +00:00
6365cb3fa8 much-improved tablet handling; hi-fi input for mouse/pen 2010-07-03 07:03:21 +00:00
09f6604241 preparing for NDOF overhaul 2010-07-03 06:58:29 +00:00
905fcc7b74 guarding printf calls as MinGW (gcc 4.5) insists 2010-07-03 03:53:06 +00:00
d5cdfb18f6 removed unused #include 2010-06-26 01:34:49 +00:00
185c77989e hint for mouse/pen input fidelity 2010-06-25 00:09:50 +00:00
da314f51bf fixed tablet mouse spasm bug and refactored event handling 2010-06-19 10:35:01 +00:00
3e3d2b7a4c ifdef disable X11 mouse grab, it locks up the system for artists too often (whenever blender locks up). 2010-06-15 17:40:31 +00:00
982cd944a4 Got the okay from Nathan to commit this: It's a small patch for Win32 Ghost that prevents a Blender window from setting the cursor position when it's not the active window. 2010-06-15 17:12:21 +00:00