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
2019-04-25GHOST: remove OpenGL depth buffer, remove code for other unused buffersmano-wii
Viewport drawing has moved to offscreen buffers, and we no longer need to have depth, stencil, aa samples, sRGB buffers as part of the window. So all that code is removed now. The depth buffer was the only one still being allocated, its removal save a bit of memory. Code by Germano and Brecht. Differential Revision: https://developer.blender.org/D4708
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-17Disable clang-format for objective-C bits in GHOST.Bastien Montagne
Pre-8 versions of clang-format do not handle objective-C very well, leading to unwanted changes when re-running the edits.
2019-04-17ClangFormat: format '#if 0' code in intern/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: simplify commentsCampbell Barton
clang-format reformatted when running a second time.
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-06GHOST: tweak warning message about OpenGL 3.3.Brecht Van Lommel
2019-04-03Fix T55589, T60967: Windows pen pressure issues at start/end of the stroke.Christopher Peerman
The new implementation uses WM_POINTERDOWN, WM_POINTERUP and WM_POINTERUPDATE and the pointer API to process stylus events. This avoids the delays that comes with the WM_MOUSE and WM_xBUTTON events. The implementation should work on Windows 8, and Windows 10 with both legacy and new pen interaction. It also changes how the pressure is reset when the Windows Ink implementation is enabled. The previous version reset the pressure to full when the pen left the screen, however for some hardware implementations this allowed a small window where Blender may process the final move event and read the pressure as full leaving a dot on the last event. Differential Revision: https://developer.blender.org/D4314
2019-04-03Windows: use Wintab by default if it's available and a device is detected.Brecht Van Lommel
Previously Automatic tablet API mode would handle both Windows Ink and Wintab events. This is unpredictable and causes problems with the fix coming in the next commit. Instead assume that in most cases where Windows Ink is desired there will be no Wintab. If that's not the case, it can be adjusted under Preferences > Input > Tablet.
2019-04-03Fix T62780 , T59802, T57648: fullscreen window issues on Windows.Brecht Van Lommel
This fixes popups and preferences appearing behind the main window, as well as flickering artifacts when Blender is in fullscreen. Patch contributed by phocomelus. Differential Revision: https://developer.blender.org/D4634
2019-04-03UI: remove close button from Windows console window.Harley Acheson
This way you can't accidentally close Blender when toggling the console window to be visible. When Blender is started from the command promt the close button remains. Differential Revision: https://developer.blender.org/D4627
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-03-19Cleanup: comment blocksCampbell Barton
2019-03-19Cleanup: trailing spaceCampbell Barton
2019-03-17Cocoa: Fix missing key window after closing "About"Sergey Sharybin
The cause of this issue goes deeper inside of the custom nature of the event loop. In short, when not using [NSApp run] closing "About" window does not make previous key window a key again. The solution is quite similar to other projects, but we only force key window from handler when closing one appears to be "About" window. In all other cases we leave it up to Blender's window manager to make decision and do not interfere with it. Test plan: - Open Blender application - Go to Blender -> About Blender menu item - Close About window - Note that Blender's window does not become active again. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D4534
2019-03-13Fix T57305: NDOF frozen w/ lock view to cameraCampbell Barton
This effectively reverts 030297209f2508a and 785e8a636a2939, which caused this issue.
2019-03-06Linux/X11: update icon in taskbar to match new icons.Brecht Van Lommel
Adds a few different resolutions for better quality when scaling up/down.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-18Cleanup: conform headers to have license firstCampbell Barton
Also remove doxy comments for licenses and add missing GPL header.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: remove author/date info from doxy headersCampbell Barton
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-28Merge branch 'blender2.7'Brecht Van Lommel
2019-01-28Fix T57069: macOS window contents scaling bug.Brecht Van Lommel
The cause of this is unclear, but delaying querying the native pixel size appears to help in the one case I could reproduce.
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-25Cleanup: sort cmake file listsCampbell Barton
2019-01-15Revert fix for T48901: Use of XIWarpPointerCampbell Barton
Xorg's XIWarpPointer doesn't support multi-head display while XWarpPointer does. Revert since this is a known TODO in Xorg and setting a custom xinput matrix seems not to be used often. Resolves T50383
2019-01-15Revert fix for T48901: Use of XIWarpPointerCampbell Barton
Xorg's XIWarpPointer doesn't support multi-head display while XWarpPointer does. Revert since this is a known TODO in Xorg and setting a custom xinput matrix seems not to be used often. Resolves T50383
2019-01-14Windows: add support for Windows Ink.Christopher Peerman
Before this Blender always needed the Wintab driver. This adds support for the native pressure API in Windows 8+, making it possible to get pressure sensitivity on e.g. Microsoft Surface hardware without any extra drivers. By default Blender will automatically use Wintab if available, and if not use Windows Ink instead. There is also a new user preference to explicitly specify which API to use if automatic detection fails. Fixes T57869: no pressure sensitivity with Surface pen or laptop. Code by Christopher Peerman with some tweaks by Brecht Van Lommel. Differential Revision: https://developer.blender.org/D4165
2019-01-14Cleanup: refactor GHOST wintab handling.Brecht Van Lommel
2019-01-14Merge branch 'blender2.7'Brecht Van Lommel
2019-01-14Fix T55589: drawing strokes with Microsoft surface pen misses first part.Christopher Peerman
This disables touch gesture recognition in Blender, avoiding any initial delay when drawing with grease pencil, texture paint, etc. Differential Revision: https://developer.blender.org/D4203
2019-01-10Cleanup: ensure header guards come firstCampbell Barton
Causes clang-format not to detect header guards, indenting all preprocessor lines in the header.
2019-01-10Cleanup: ensure header guards come firstCampbell Barton
Causes clang-format not to detect header guards, indenting all preprocessor lines in the header.
2019-01-03Fix for T58250 fix: Blender failing to start with OpenGL context < 4.5.Brecht Van Lommel
2019-01-03Fix T58250: crash starting Blender on X11 without OpenGL 3.3.Brecht Van Lommel
Instead display an error message and exit.
2018-12-27X11: support multiple tablet devices.Brecht Van Lommel
Previously we would try to guess what the main tablet device is, but this is error prone. Now we keep a list of X11 devices and try to match events to them. On the Blender side there are still some limitations in regards to using multiple devices at the same time, but this should improve things already. Fixes T59645.
2018-12-27X11: support multiple tablet devices.Brecht Van Lommel
Previously we would try to guess what the main tablet device is, but this is error prone. Now we keep a list of X11 devices and try to match events to them. On the Blender side there are still some limitations in regards to using multiple devices at the same time, but this should improve things already. Fixes T59645.
2018-12-18Fix T59564: Huion pen pressure not working on Linux, after recent changes.Brecht Van Lommel
2018-12-05GHOST: WGL: Silence Errors when testing opengl context versionsClément Foucault
2018-12-05Merge branch 'master' into blender2.8Bastien Montagne
2018-12-05Fix T58776, T58030: pressure sensitivity on Linux not working for some tablets.Brecht Van Lommel
2018-12-04Merge branch 'master' into blender2.8Gaia Clary
2018-12-04Fix T58466: bug in macOS GHOST_GetSwapInterval.Niels
No user level changes since this function is not used in active code.