42d6603cae
Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options.
2010-11-30 18:52:39 +00:00
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
837fedf372
fix for building with mingw/cmake
2010-11-22 23:25:21 +00:00
39b7bfe6bd
- check IF WIN32 AND NOT UNIX (for cygwin)
...
- patch from Mike S to enable OpenMP and xcode
2010-11-21 13:41:43 +00:00
Nathan Letwory
b9b95be374
Fix [ #24310 ] With high poly numbers when sculpting, modifier keys hang
...
reported by Eclectiel L
When working with very heavy scenes Blender can seem to 'hang' (not responding). Key events that happen
during this period may get lost, especially for modifier keys.
Adding extra handling to account for these situations.
2010-11-15 12:05:11 +00:00
2cef9203ba
Add PREFIX support to makefiles.
2010-11-01 23:17:58 +00:00
7e913f25c2
throw an error is PREFIX isnt defined on X11 systems. defaults to /usr/local
2010-11-01 22:26:56 +00:00
Nathan Letwory
f875777212
Change /WX away for now, some odd thing going on between cloned environments. Need to check after release.
2010-10-26 23:32:59 +00:00
Nathan Letwory
715fa82769
Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).
2010-10-24 12:45:47 +00:00
f383e2e0e6
Remove msvc build files which are not needed anymore.
2010-10-23 15:14:54 +00:00
Nathan Letwory
54b3508444
Fix [ #24337 ] Create vertex (and faces and edges) with "Control+LMB" doesn't works!
...
Reported by Lluc Romaní Brasó
Some of my earlier changes to the modifier handling code accidently sent out new events for modifier keys when they where held down (repeat).
Also lay foundation for shift+numpad handling.
2010-10-22 22:58:12 +00:00
Nathan Letwory
d272ea36c2
Wrong check for platform accidently put /WX to non-msvc toolchains too.
2010-10-21 18:13:43 +00:00
Nathan Letwory
b9d17f97eb
Don't use CS_CLASSDC after all. Makes drawing multiple windows funky.
2010-10-21 11:15:57 +00:00
Nathan Letwory
c9d16d0ddb
/WX enabled for MSVC in CMake too.
...
Warning fixes.
2010-10-21 08:32:53 +00:00
Nathan Letwory
107b274fb8
Enable /WX in blenkernel
...
Silence warnings
2010-10-21 07:39:18 +00:00
Nathan Letwory
6e43a400e3
Use one device context for our window class.
2010-10-21 07:18:38 +00:00
Nathan Letwory
3cbb5611d5
* Use HWND_DESKTOP as parent for Blender Windows.
...
* Reorder freeing of OpenGL context code.
2010-10-21 07:16:02 +00:00
Nathan Letwory
9e73da71f5
Enable /WX on Windows.
2010-10-21 07:14:31 +00:00
Nathan Letwory
d7b40531cd
Fix [ #20277 ] Bug with Continuous Grab on Windows
...
Reported by Alex Glawion
When we have a maximized window we need to take into account
that there are no borders.
2010-10-19 09:38:56 +00:00
Nathan Letwory
6c505c97a7
_DEBUG -> DEBUG
2010-10-18 07:03:38 +00:00
Nathan Letwory
05a105cac1
Add short comment.
2010-10-18 00:42:18 +00:00
Nathan Letwory
ac03fbe4c9
Adapt OSX code for IMB_allocImBuf param changes.
2010-10-16 15:53:01 +00:00
Nathan Letwory
c52e7c1370
Fix AltGr problem on Windows
...
It was impossible for keyboard layouts that use AltGr to create certain characters to insert
them in Text and Console.
The keyboard driver in Windows sends left control events when AltGr is pressed. This meant that
Blender thought control was being held, which is a PASS_THROUGH condition for the insert operator
in both editors.
Add testing of keyboard layout for AltGr, both on initialization and WM_INPUTLANGCHANGE.
To remedy AltGr problem, we send now a left control key up event to Blender before further processing
the AltGr key.
2010-10-16 15:21:55 +00:00
Nathan Letwory
f631a8b5be
Simplify GHOST modifier key handling on Windows.
2010-10-15 14:52:47 +00:00
d6b235f3ef
patch [ #24162 ] r32332 missed a couple of command key changes - with fix
...
from Shane Ambler (sambler)
2010-10-06 09:21:40 +00:00
568cb06616
rename Command key to OSKey, Window manager already called it the OSKey but internally it was mixed.
2010-10-05 19:10:15 +00:00
b6bdf681fb
OSX/Cocoa: Fix [ #24068 ] for correct handling of .blend file names with accented nordic characters
2010-10-02 09:17:32 +00:00
af8ae62ec0
OSX/Cocoa: Mouse up was not sent to WM after window resize
2010-10-02 09:15:32 +00:00
606b800c46
OSX/Cocoa : discard Cocoa GL view flush while in live resize, and send Window size change ghost message only when user releases mouse button (not in live resize).
...
Potentially fixing bug [#23561 ]
2010-09-26 19:53:45 +00:00
b19521f2b2
Fix OS X memory leak prints when starting blender:
...
"__NSAutoreleaseNoPool() ... autoreleased with no pool in place - just leaking"
2010-09-16 19:42:51 +00:00
Nathan Letwory
6b18c9dc61
Partial fix (Linux) [ #21395 ] Command key for keyboard mapping not functional
...
Reported by Andy Braham
Handle XK_Super_L and XK_Super_R as the GHOST_kKeyCommand. Since Command key is
not discerned (yet) in left/right variants, read both and set accordingly.
This now completes fixes for [#21395 ]
2010-09-16 06:52:12 +00:00
Nathan Letwory
d6baea457e
Partial fix [ #21395 ] Command key for keyboard mapping not functional
...
Reported by Andy Braham.
Handle VK_LWIN and VK_RWIN (The infamous Windows keys). Note, these are not separate, so handled as one command key.
2010-09-15 23:19:21 +00:00
9b518710c6
update for MingW/CMake
...
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings.
- the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-09-15 16:13:32 +00:00
d0a1b76fe4
use relative paths for ghost/cmake
2010-09-12 12:16:50 +00:00
Nathan Letwory
06b1c933b3
Commit patch [ #23685 ] Cleanup/crashfix for AA using win32 ghost.
...
Provided by Mitchell Stokes (Moguri)
2010-09-08 08:25:38 +00:00
2406ebe1a4
- added back zlib include (needed for win32).
...
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
a8269c8946
SVN maintenance.
2010-09-03 03:30:20 +00:00
Nathan Letwory
6c113b54b3
Finally change SConscript tabs to spaces.
2010-08-29 20:52:05 +00:00
4b40d73bfb
rename most scons build targets to match cmake
2010-08-25 04:30:47 +00:00
6464718083
rename some cmake build targets
2010-08-24 04:29:23 +00:00
4bfd915f9c
pencils down! additional Windows Wacom wackiness.
2010-08-16 18:59:36 +00:00
2c468d9e5a
Further hacking on Windows tablet code. More accurate detection of certain tablet tools (mice, etc.). Made tablet mouse/pen buttons play nice with GHOST. Removed old code from WindowWin32.
2010-08-15 11:02:03 +00:00
0473790bbe
removed gpencil Manhattan distance from user prefs. updated ghost build script.
2010-08-14 23:33:22 +00:00
91e2a55171
continued Win32 tablet hackery
2010-08-14 21:01:09 +00:00
Nathan Letwory
801ba2e345
Apply patch #23295 - Fix for SCons building on FreeBSD
...
Patch submitted by Jashank Jeremy. This adds support for freebsd7, freebsd8 and freebsd9. Thanks!
2010-08-13 20:54:34 +00:00
7428380cc3
still working on tablet for Windows...
2010-08-13 00:34:57 +00:00
fc5c4d98f4
Minor cleanup of Windows tablet code.
2010-08-12 14:02:38 +00:00
1232bb6923
Better Intuos4 support on Windows.
2010-08-12 13:04:00 +00:00
485d1ef06e
Updated Win32 tablet code.
2010-08-12 04:03:40 +00:00
1c2d36344c
Linux compiles again, no SpaceNav yet.
2010-08-10 09:56:39 +00:00