Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-10-03Fix crash starting game engine on linuxSergey Sharybin
Issue was caused by bug in mesa #54080 which makes glXQueryDrawable fail with GLXBadDrawable for any request with direct context. Worked around by temporary overriding X error handling when getting old interval value and disablingintervals extension if this query fails. Also added check for glXSwapIntervalEXT which is apparently NULL here with GLX_EXT_swap_control=1.
2013-10-02OSX/GHOST: fix own issue in 60510, should now (hopefully) cover all multiple ↵Jens Verwiebe
window combinations
2013-10-02Fix #36316: dots in cycles render on certain CPUs with 32 bit linux builds.Brecht Van Lommel
There is some sort of problem with the SSE2 code path, but I couldn't find the cause, maybe a compiler bug due to the large amount of inlining? For now I've disabled SSE2 optimizatons in 32 bit GCC builds.
2013-10-02OSX/GHOST: refine #60409 and better take multiple windows into accountJens Verwiebe
2013-09-30Fix #36891: on OS X, cmd+s or cmd+o did not work when pressing them over theBrecht Van Lommel
text editor.
2013-09-29name cocoa functions in keeping with convention with similar functions for ↵Campbell Barton
other ghost classes.
2013-09-29OSX: more descriptive commentJens Verwiebe
2013-09-29OSX: cleanup for 60409, let m_window protected and use rather a public ↵Jens Verwiebe
function for getting it public
2013-09-28OSX: make sure closing the mainwindow forewards to the quitdialog - todo: ↵Jens Verwiebe
check if m_window now public is a problem
2013-09-21style cleanup: whitespace & odd indentationCampbell Barton
2013-09-20OSX/scons: fix linking errors due bf_intern_ghostndof3dconnexion was build ↵Jens Verwiebe
even if no 3Dmouseware was detected
2013-09-16Fix [#36742] Pasting image into text editor causes freezeBastien Montagne
Last fallback (XCLIB_XCOUT_FALLBACK_TEXT) was not checked, hence infinitly looping...
2013-09-14minor style clanup and use more meaningful name for 3DCONNEXION source code.Campbell Barton
2013-09-14Cleanup for last commitJens Verwiebe
2013-09-14Fix broken compiling with ndof on linux and winJens Verwiebe
2013-09-13OSX: Compilefix for ndof symbols get magled when used extern C, now use ↵Jens Verwiebe
discrete c files embedded, patch by Jake Kauth
2013-09-12Fix for [#36707] Blender Opens in fullscreen and stays like thatNathan Letwory
Reported by holy enigma The previous commit in this area removed bounding box checks, because they were done against primary monitor. Now do bound checks against the entire desktop, or rather, the virtual screen. This is the bounding rectangle of all the monitors. This should ensure windows are always created within the confines of this area.
2013-09-11Fix [#36702] blenderapplication window position and sizeNathan Letwory
On Windows the system window will be sized an positioned such that Blender screen area lower left corner is at the requested location, and with dimension as requested. Thanks to Alexander N. for reporting and Brecht van Lommel for input.
2013-09-11take the decender into account when drawing console text.Campbell Barton
also add data types wm and mask to dataname() and unshadow var in ghost/x11
2013-09-11fix double free in ghost c++ gears test program.Campbell Barton
2013-09-10Remove dimension checks from window creation.Nathan Letwory
This should be (and is) done by the caller instead (windowmanager) to ensure new windows fit properly on the desktop. Saving stretched layouts and layouts with window over display boundaries now becomes possible on Windows too.
2013-09-06fix for bug in GHOST/SDL, events dont always have a window (which ghost needs).Campbell Barton
fallback to the window with the active opengl context.
2013-09-05Ghost test application could be compiled againSergey Sharybin
Was an IRC request to have Ghost application up and running for investigation purposes.
2013-09-05fix [#36459] Official blenderplayer can not go fullscreen on LinuxCampbell Barton
use modified patch from Alex Fraser (z0r)
2013-09-05Ghost_SDL: Fixing the DEF_CURSOR macro so it works in release builds.Mitchell Stokes
2013-09-04Add new cursor types to data handling to account for Intuos 4 device (pen ↵Nathan Letwory
and eraser). Thanks to Ayden Polat for helping to find out the cursor type codes.
2013-09-03Fixed crash on Visual StudioAlexander Kuznetsov
2013-08-30Cleaning up some prints related to SDL.Mitchell Stokes
2013-08-30Adding support for enabling/disabling vsync to Ghost_SDL.Mitchell Stokes
2013-08-20Get rid of PATH_MAX in Ghost System X11Sergey Sharybin
The reason of this is because PATH_MAX is not guaranteed to be defined on all platforms and Hurd doesn't define it. So either we need to support arbitrary long file path or we need to define own maximum path length. The rule here would be: - If it's not big trouble to support arbitrary long paths (i.e. in ghost by using std::string instead of char*) then arbitrary long path shall be implemented. - For other cases to use PATH_MAX please include BLI_fileops.h which takes care of making sure PATH_MAX is defined. Additional change: get rid of own changes made yesterday which were supposed to make storage.c work fine in cases PATH_MAX is not define, but on the second though it lead to unneeded complication of the code. Thanks Campbell for review!
2013-08-19style cleanup: indent/whitespaceCampbell Barton
2013-08-01Fix linking issue, we use bundled static glew so we should define static ↵Antony Riakiotakis
glew in ghost as well.
2013-07-30BGE: Adding vsync control. Users can enable vsync, disable vsync, or use ↵Mitchell Stokes
adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-07-19code cleanup: case & brace placementCampbell Barton
2013-07-19code cleanup: pass event by pointer to getClipboard_xcoutCampbell Barton
2013-07-19code cleanup: use bool for widget struct, also edit odd strncpy use.Campbell Barton
2013-07-16fix [#36157] Memory Leak in GHOST_DropTargetX11Campbell Barton
would leak a little bit of memory for every window created.
2013-06-28Fix #35904: on Windows force NVidia Optimus, which does automatic graphicsBrecht Van Lommel
switching between an integrated Intel and a dedicated NVidia card, to use the dedicated card for Blender. A more portable and general solution would be nice, but it's all I could find: http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf
2013-06-27Fix #35890: memory leak in OS X ghost locale detection.Brecht Van Lommel
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-28Fix for r35524. Thanks Jeffrey Hoover for reporting.Alexander Kuznetsov
WM_SIZE is dispatched before full init.
2013-05-26Live resize on Windows. Based on Ton's patch for mac.Alexander Kuznetsov
Removing old resize stuff. Windows has resize lag, which creates black gap with openGL. Still looking to fix it.
2013-05-25Solving ancient Blender window sizing issue;Ton Roosendaal
- Removed grid-snapping for area coordinates on scaling windows. That caused the areas to shrink or expand, and eventually corrupt screen layouts. - Added simple but efficient life resize for OSX. I need to know why this is so much code for Windows... I suggest Windows to just copy same method; dispatch the queue, and just let the event system draw.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-19revert (ifdef) r54745. which enbabled alpha in the GL buffer.Campbell Barton
looks to be the cause of bug [#35415] we can make this optional.
2013-05-18Painting / Sculpting: more tweaks to pressure sensitivityBrecht Van Lommel
* Also do pressure interpolation for brush size and spacing. * Do smoothing of pressure when smooth stroke and sample average is enabled. * Revert the OS X specific pressure change to pressure ^ 2.5, for low pressure values like 0.05 it makes the pressure 100x lower, which is problematic. If we need to adjust the pressure curve it should be done for all platforms. Still weak: * Pressure of first touch on tablet is difficult to control, usually it's low which makes the stroke start out small or soft, but other times not. Finer event capturing at ghost level would help, along with pressure changes without mouse movement, but this may also need different paint stroke logic. * Brush radius is rounded to integers, this gives noticeable stepping. * Brush falloff is not antialiased, gives noticeable aliasing for small brush sizes which was always a problem, but is more common with size pressure control.
2013-05-14Fix #35340: 3D manipulator not working right after undoing with cmd+Z on OS X.Brecht Van Lommel
Another issue with the recent Ghost changes here. For some reason key up events are not coming through when the command key is pressed. I can't figure out why, for now just always handle them, still fixes the original bug.
2013-05-14Patch [#35234]:Jürgen Herrmann
Fix GetWindowsLon and SetWindowsLong issues with VS2012 and Windows 8. Remove unneeded #ifdef block for GWL_WNDPROC and GWL_USERDATA
2013-05-13Fix ctrl+(shift)+tab shortcut key not working on OS X after recent bugfix toBrecht Van Lommel
interact better with system shortcuts. This is a special shortcut for switching between views and does not get delivered directly to our view when we pass it through the application key event handling path. We only have a single OpenGL view, so there's no need to pass it on to the application, instead just interpret it directly.
2013-05-11Fix for previous fix, not sure it will cause issues in practice but better beBrecht Van Lommel
sure to avoid invalid memory access.