Commit Graph

4909 Commits

Author SHA1 Message Date
Campbell Barton
cf485cd963 Advanced CMake option to build the player without blender: WITH_BLENDER 2011-07-13 08:15:06 +00:00
Campbell Barton
44e45e54c5 - don't build ghost's event printer unless ghost debug is enabled.
- use char rather then STR_String for the event printer.
- added option to build WITH_GHOST_DEBUG for cmake
- renamed WITH_SDL_GHOST --> WITH_GHOST_SDL
2011-07-13 06:04:54 +00:00
Campbell Barton
0fc6aac3dc make X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for call. 2011-07-13 05:22:21 +00:00
Guillermo S. Romero
74494dbcd2 SVN maintenance. 2011-07-13 00:49:22 +00:00
Campbell Barton
41f37cff93 changes to ghost/sdl
- mouse coords made absolute
- window position set
- building with SDL 1.2 gives an error.
2011-07-13 00:31:08 +00:00
Sergey Sharybin
9eb1b26312 Fix for recent GHOST SDL commit.
SCons rules haven't been changed to deal with new option.
2011-07-12 18:39:46 +00:00
Campbell Barton
f7b9418d25 build option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
This opens up the option for blender to be more easily ported to other devices, OS's.

TODO
- continuous grab.
- text glitch with multiple windows (was a bug in X11 too for a while, will check on this)
2011-07-12 13:17:54 +00:00
Joerg Mueller
208b69e3a7 3D Audio GSoC:
Software 3D Audio implementation.
2011-07-12 13:11:00 +00:00
Joerg Mueller
d9cf985730 Merging trunk up to r38329. 2011-07-12 13:09:22 +00:00
Campbell Barton
b90535cc33 correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function. 2011-07-12 12:53:23 +00:00
Campbell Barton
65d1e27ff5 fix for using uninitialized value in gpu_shader_material 2011-07-09 19:16:32 +00:00
Campbell Barton
c50b5ee320 ghost multi-test builds again, now uses BLF font library 2011-07-09 16:18:15 +00:00
Brecht Van Lommel
9159afe77a Fix #27891: IK stretch gives inaccurate results. Tweaked translation segment
convergence weight a bit to match angles better at typical scales.
2011-07-08 12:18:54 +00:00
Joerg Mueller
34c5784f99 Merging trunk up to r38167. 2011-07-06 20:26:56 +00:00
Mike Erwin
50ef78cdb8 various fixes to enable MSVC build, removed crusty old Win32 ndof code 2011-07-06 18:50:59 +00:00
Brecht Van Lommel
e7878389bb Fix #27865: weird mouse warping with continuous grab on OS X. 2011-07-05 20:15:29 +00:00
Brecht Van Lommel
e15fd7df6c Patch #27829: fix X11 compile problem due to missing XF86XK_AudioForward define
on Debian Lenny. Patch by "dungeoneer".
2011-07-05 19:10:28 +00:00
Nathan Letwory
c78cee8e27 Fix compile for msvc (broken in r38119) 2011-07-05 14:53:37 +00:00
Joerg Mueller
3f3c6f5f1f Merging from trunk up to r38119. 2011-07-05 13:54:25 +00:00
Brecht Van Lommel
ccd31900ab Fix #27855: crash on enabling high resolution smoke.
Wavelet tile generation code was reading outside of array bounds, and as a
result could give a noise.wavelets file with nan values. Now that problem
is fixed, and existing files with nan are ignored.
2011-07-05 12:25:56 +00:00
Campbell Barton
5913179f85 CMake file to build ghost tests again. 2011-07-03 16:17:38 +00:00
Mike Erwin
14c72f379c implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code 2011-07-01 21:51:44 +00:00
Campbell Barton
228be10722 fix for building headless 2011-07-01 15:15:22 +00:00
Brecht Van Lommel
d2c5549f8e Cycles: fix crash with image texture nodes (on windows). 2011-07-01 14:57:48 +00:00
Mike Erwin
abd4a881db ndof device detection now visible in log 2011-07-01 03:54:23 +00:00
Mike Erwin
893bf5f81a verbose ndof event trace for a tester 2011-07-01 03:44:03 +00:00
Mike Erwin
e41a7b6f63 tiny compile fix for PowerMac 2011-07-01 00:58:47 +00:00
Brecht Van Lommel
4ff22bd097 Cycles: OS X build system changes to use lib/ openimageio and boost. 2011-06-30 14:47:57 +00:00
Brecht Van Lommel
b57c87856d Cycles: cmake changes to make win32 use lib/windows for boost and openimageio. 2011-06-29 19:18:08 +00:00
Mike Erwin
4178b662cc enabled pan/zoom in rotation-locked 3D views + small cleanup 2011-06-28 15:59:46 +00:00
Mike Erwin
446be52164 made Pascal string less intrusive to build systems 2011-06-28 15:57:39 +00:00
Brecht Van Lommel
ba36215669 Cycles: attempt to fix OIIO include path on windows. 2011-06-28 15:23:30 +00:00
Brecht Van Lommel
d18d37d25f Cycles: svn merge -r37694:37904 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-06-28 15:00:42 +00:00
Brecht Van Lommel
6b2e35c8b7 Cycles: cmake tweak to make specifying OSL/OIIO path simpler. 2011-06-28 14:37:08 +00:00
Brecht Van Lommel
f351e3572d Cycles: fix for dynamic library copying on linux. 2011-06-28 14:25:52 +00:00
Brecht Van Lommel
bdb92dab74 Cycles: for mac and unix, copy oiio/boost dynamic libraries into cycles lib
directory to avoid library path issues.
2011-06-28 13:44:47 +00:00
Mike Erwin
30b4ff8949 first attempt at CMake fix (untested) 2011-06-27 23:24:24 +00:00
Mike Erwin
5c2e4318b5 Windows ndof now uses blender view coordinates 2011-06-27 21:52:33 +00:00
Mike Erwin
798f59fe68 Mac ndof using blender view coordinates + small but important typo fixed 2011-06-27 20:44:23 +00:00
Mike Erwin
0f8a1ed8af removed unneeded cleanup code on Linux 2011-06-27 20:18:04 +00:00
Mike Erwin
edd5980436 now using blender view coordinates for ndof input -- core and Linux in place 2011-06-27 20:12:10 +00:00
Brecht Van Lommel
1cf0af703d Cycles: working towards texture workflow design
http://wiki.blender.org/index.php/Dev:2.5/Source/Render/TextureWorkflow

* Added "active texture node" in shading node trees.
* Texture draw mode draw active texture node now, and new Material draw
  mode shows GLSL material.
* GLSL materials now match solid draw mode lighting better.
* Texture properties can now texture nodes from material/world/lamp.
2011-06-27 17:10:50 +00:00
Brecht Van Lommel
24c0f1873e Fix part of #26850: Cocoa OS X game player was not working, two issues:
* Unlike blender, the game player draws only on windows update callbacks,
  and those wer not implemented.
* Going fullscreen for player was not implemented correct, it expected an
  existing window but actually it should create one.
2011-06-27 13:57:27 +00:00
Campbell Barton
33e554799b Minor warning cleanup & fix
- comment/remove assignments from values to themselves.
- add case break statements (no functional change but some source code checkers notice).
- fix python errors when the sculpt brush is None.
2011-06-27 03:36:14 +00:00
Mike Erwin
ec48695de1 suppressed annoying log in Mac NDOF system 2011-06-25 18:48:53 +00:00
Brecht Van Lommel
da79ab5acc GHOST Cocoa: some changes to Y coordinate conversion in previous commit,
to fix continuous grab being broken (bug report #27760).
2011-06-25 02:10:13 +00:00
Brecht Van Lommel
d28fc39ff5 Cycles: attempt at fixing windows compile problem after merge. 2011-06-24 17:19:34 +00:00
Joerg Mueller
fdb932370b 3D Audio GSoC:
Fixes for crashes reported by Moguri.
2011-06-24 06:39:03 +00:00
Brecht Van Lommel
c518aa1383 GHOST Cocoa: move y origin top/bottom conversions out of windowmanager module
and into GHOST. Also fixes a problem where e.g. the user preferences window
would not open under the mouse cursor correctly.
2011-06-23 19:55:47 +00:00
Joerg Mueller
413bc87e4f Merge with trunk r37757. 2011-06-23 17:30:56 +00:00