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
2020-07-11Cleanup: spellingCampbell Barton
2020-07-03Cleanup: spellingCampbell Barton
2020-06-24VR: Properly support outputting sRGB swapchain buffersJulian Eisel
Latest SteamVR OpenXR updates brought OpenGL support, but only with sRGB buffers. I think for DirectX it's the same now. It's not a big issue for us to use sRGB buffers, so that's what I will do for now. That way we shouldn't need hardcoded exceptions for specific runtimes that don't transform linear buffers correctly.
2020-06-12VR: Fix too dark rendering on SteamVRJulian Eisel
Apply the sRGB transform workaround we already apply for Monado (and used to apply for Windows Mixed Reality).
2020-06-12VR: SteamVR is now a supported OpenXR runtime! (Windows only)Julian Eisel
Steam just released a SteamVR update with OpenXR Developer Preview support: https://steamcommunity.com/games/250820/announcements/detail/2396425843528787270. Once SteamVR is set up for OpenXR (see link above), it works with Blender "out of the box", thanks to OpenXR! We have to apply the sRGB transform workaround for SteamVR though, otherwise it renders way too dark. Done in the next commit. Note that AMD users may still only see a pink screen, because the OpenGL-DirectX compatibility fails. I will check on a fix again. For SteamVR on Linux we may have to wait for until it supports OpenGL rendering for OpenXR. Alternatively, we *could* add initial Vulkan support at Ghost level and use Vulkan<->OpenGL interoperability extensions, Monado uses these as well.
2020-06-10Fix T74101: File Browser in macOS fullscreen crashes or makes windows unusableJulian Eisel
When closing the File Browser window after making it fullscreen, Blender would either crash or all windows would disappear, with no obvious way to bring them back. The "fix" is to not allow fullscreen for File Browsers (or any future "dialog" windows), but only maximizing. From what I can tell that's how secondary windows are supposed to work on macOS. What we previously did seemed like something macOS doesn't handle cleanly, and I didn't find a simple way to do so on our side.
2020-06-05Cleanup: Strict compiler warningSergey Sharybin
2020-05-30GHOST/wayland: use 'is_dialog' flag to prevent drawing into same windowChristian Rauch
2020-05-29Cleanup: spelling, correct reference to 'Mesh.mcol'Campbell Barton
2020-05-27Cleanup: remove unnecessary copy constructorCampbell Barton
Caused deprecated-copy warnings as it wasn't used.
2020-05-22Wayland: support key repeatChristian Rauch
2020-05-22GHOST: fix GHOST_System::getMilliSeconds()Christian Rauch
This wasn't returning milliseconds, causing problems with key repeat.
2020-05-22Fix missing header building with waylandCampbell Barton
2020-05-14GHOST/wayland: style fixChristian Rauch
2020-05-14GHOST/wayland: fix cursor buffer deallocationChristian Rauch
2020-05-14GHOST/wayland: remove unused 'registry'Christian Rauch
2020-05-13GHOST: fix cursor buffer handling when toggling visibilityChristian Rauch
2020-05-12Merge branch 'blender-v2.83-release'Campbell Barton
2020-05-12Fix T76507: Reading clipboard blocks keyboard input on X11Campbell Barton
2020-05-07VR: Fix OpenXR state freeze on Oculus after taking off HMDNicolas Fauvet
With the Oculus runtime, the VR session would freeze when taking off the HMD and putting it back on. This was caused by the deletion of graphics resources too early in the OpenXR state machine, at least for Oculus. The resources will now only be freed once the session is actually destroyed. Also fixes an issue where it wasn't possible to stop the session via the UI when the HMD was taken off. Reviewed By: Julian Eisel Differential Revision: https://developer.blender.org/D7635
2020-05-07VR: Fix OpenXR state freeze on Oculus after taking off HMDNicolas Fauvet
With the Oculus runtime, the VR session would freeze when taking off the HMD and putting it back on. This was caused by the deletion of graphics resources too early in the OpenXR state machine, at least for Oculus. The resources will now only be freed once the session is actually destroyed. Also fixes an issue where it wasn't possible to stop the session via the UI when the HMD was taken off. Reviewed By: Julian Eisel Differential Revision: https://developer.blender.org/D7635
2020-05-07macOS: Remove workaround for old quit dialogJulian Eisel
Got added in 1a30e52142c5 (and tweaked in follow-ups) but shouldn't be needed anymore with the newer popup based quit dialog. It prevents Blender from quitting properly in case macOS closed all Blender windows. This may happen in some corner-cases unfortunately (e.g. T74101) which would be nice to have addressed at some point. Until then, users shouldn't have to force-kill Blender to shut it down if they run into this.
2020-05-06Fix num-pad access on waylandCampbell Barton
Always interpret keypad keys as if numpad is enabled, this matches other platforms. Also add missing quote key.
2020-05-06Fix T76429: GHOST/Wayland event's don't correspond to physical keysChristian Rauch
2020-05-06Cleanup: warningsCampbell Barton
2020-05-03GHOST: cleanup platform checks, fix Wayland + X11Campbell Barton
- Building with Wayland + X11 missed an exception include. - Move HEADLESS check first, since it's the same on all platforms.
2020-05-02Merge branch 'blender-v2.83-release'Brecht Van Lommel
2020-05-01Fx build error with MSBuild on WindowsNikhil Shringarpurey
Differential Revision: https://developer.blender.org/D7587
2020-05-01CMake: add WITH_GHOST_X11 optionCampbell Barton
- Support building only with Wayland. - In this case, show useful error messages when Wayland fails to load.
2020-05-01Cleanup: duplicate include, define from Wayland patchCampbell Barton
2020-05-01Cleanup: rename WITH_X11 to WITH_GHOST_X11Campbell Barton
Matches WITH_GHOST_{SDL|WAYLAND}
2020-05-01GHOST: set the window state on wayland startupChristian Rauch
2020-04-30Cleanup: replace unordered_map with switch statementCampbell Barton
Was performing 2x look-ups, checking keys doesn't benefit noticeably from hash look-ups.
2020-04-30GHOST: fix WITH_GHOST_DEBUG optionCampbell Barton
Changing the order of include changes broke GHOST_DEBUG, however it was using defines in a fragile way. Fix by removing 'GHOST_DEBUG' and use 'WITH_GHOST_DEBUG' which was already defined by CMake.
2020-04-30Cleanup: printf warningCampbell Barton
2020-04-30CMake: use system include for generated headersCampbell Barton
2020-04-30GHOST: initial Wayland supportChristian Rauch
Usable with the CMake option 'WITH_GHOST_WAYLAND' The following functionality is working: - Building with X11 and Wayland at the same time, wayland is used when available. - Keyboard, pointer handling. - Cursor handling. - Dedicated off-screen windows. - Drag & drop. - Copy & paste. - Pointer grabbing. See D6567 for further details.
2020-04-28Cleanup: Missing include directories after recent cleanupSergey Sharybin
2020-04-28Cleanup: remove STR_String usage from GHOSTBrecht Van Lommel
2020-04-27Merge remote-tracking branch 'origin/blender-v2.83-release'Ray Molenkamp
2020-04-27Cleanup: Fix warning about initialization order with MSVCRay Molenkamp
2020-04-27Cleanup: add newline to ghost warning printChristian Rauch
2020-04-14Fix Windows build error introduced in Wintab commit revertBrecht Van Lommel
2020-04-14Revert "Windows: support high resolution tablet pen events for Wintab"Brecht Van Lommel
This reverts commit 1a3928f33c and 1a3928f3. This is not working stable with some Wintab implementations, so reverting for now. This leaves only the Windows Ink changes for 2.83.
2020-04-10Fix T75546: Solve possible endless loop in wintab initialisationNicholas Rishel
Some Wintab drivers report a zero length queue, this causes an unplanned never ending loop. Differential Revision: https://developer.blender.org/D7392 Reviewed by: Ray Molenkamp
2020-04-05Cleanup: spellingCampbell Barton
2020-04-08Cleanup: clang-formatBrecht Van Lommel
2020-04-08Fix build error with WITH_X11_XINPUT=OFF after recent changesBrecht Van Lommel
2020-04-08Windows: support high resolution tablet pen events for WintabNicholas Rishel
Together with Windows Ink support, this should fully resolve T70765. Differential Revision: https://developer.blender.org/D6675
2020-04-08Windows: support high resolution tablet pen events for Windows InkNicholas Rishel
Rather than using the last state of the tablet, we now query the history of pointer events so strokes can follow the pen even if Blender does not handle events at the same rate. Differential Revision: https://developer.blender.org/D6675