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
path: root/intern
AgeCommit message (Collapse)Author
2019-10-16Cycles: Allow PTX targets for CUDA kernel build.Stefan Werner
This is intended for developers on Windows primarily: Now, CUDA architectures of type compute_xx are supported. This allows for quicker builds, at the expense of the CUDA driver running ptxas the first time a kernel is loaded. Differential Revision: https://developer.blender.org/D5953
2019-10-15Merge branch 'blender-v2.81-release'Jacques Lucke
2019-10-15Fix T70605: incorrect darken and lighten rgb mix modeJacques Lucke
Differential Revision: https://developer.blender.org/D6058 Reviewers: brecht, fclem
2019-10-15Merge branch 'blender-v2.81-release'Dalai Felinto
2019-10-15Fix T70838: crash on cycles render after recent fixDalai Felinto
My bad for not figuring out how to run our unittests since I got back to Windows.
2019-10-15Merge branch 'blender-v2.81-release'Dalai Felinto
2019-10-15Fix T70670: Hidden collections are still rendered by Cycles in the ViewportDalai Felinto
Now local collections are fully working with cycles preview, while the collection visibility bug is fixed. Local collections were not working with cycles viewport even before the recent commit to allow users to show collections that are hidden in the view layer. It just got worse with said commit (0812949bbc3d). Differential Revision: https://developer.blender.org/D6034
2019-10-12Cleanup: clang-formatCampbell Barton
2019-10-10Cleanup: clang-format, spellingCampbell Barton
2019-10-09GPU: show more descriptive labels on unsupported GPU dialogBrecht Van Lommel
Thanks to Ray Molenkamp for the help with the Windows implementation. Fixes T70521 Differential Revision: https://developer.blender.org/D6023
2019-10-07Fix T70602: error baking with Cycles OpenCL after recent changesBrecht Van Lommel
2019-10-07Update NUMA API library to latest versionSergey Sharybin
Brings support of PPC and S390 platforms, which are required to have Blender compiled on all ports of Debian.
2019-10-07Fix T70573: Crash on enter Cycles render preview with 'Scene world'Philipp Oeser
disabled and no world assigned to scene BlenderSync::sync_world still relied on a blender world (mixes the world viewport color with the studio light), for now just take black if no world is present. Maybe we should we use the theme color in the future here (seems eevee does this in that case) -- we'd have to pass down `b_userpref` from `BlenderSession::render` down to `sync_data > sync_shaders > sync_world` then afaics. Reviewed By: jbakker, brecht Maniphest Tasks: T70573 Differential Revision: https://developer.blender.org/D6005
2019-10-07Cleanup: clang-formatCampbell Barton
2019-10-07Cleanup: quiet warningsCampbell Barton
2019-10-04Fix: Headless buildRay Molenkamp
2019-10-04GPU: Platform Support LevelJeroen Bakker
Adds a check when starting blender if your platform is supported. We use a blacklist as drivers are updated more regular then blender (stable releases). The mechanism detects if the support level changed or has been validated by the user previously. Changes can happen due to users updating their drivers, but also when we change the support level in our code base. When the user has seen the limited support level message it is saved in the user config. It would be better to have a system specific config section, but currently not clear what could benefit from that. When the platform is unsupported or has limited support a dialog box will appear including a link to our user manual describing what to do. **Windows** Windows uses the MessageBox that is provided by the windows kernel. **X11** We use a very lowlevel messagebox for X11. It is very limited in use and can be fine tuned when needed. **SDL/APPLE** There is no implementation for SDL or APPLE at this moment as the platform support feature targets mostly Windows users. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5955
2019-10-04Fix: Clamping in Map Range node works incorrectly.OmarSquircleArt
The clamp option in the Map Range node doesn't work correctly when the inputs are linked. The code didn't put that into considration. Reviewers: brecht Differential Revision: https://developer.blender.org/D5987
2019-10-03UI: Register File Browser as Child/Dialog-Window for the OSJulian Eisel
For many users, this will make the File Browser window behave more like what they would expect. It addresses the issue of the File Browser becoming hidden behind the main window by clicking anywhere in the latter. It communicates the interruptive, but temporary nature of the operation a bit better. Further, on tiling window managers the File Browser now opens as floating by default, like in other applications. Note that this also makes sure the File Browser is always opened as separate window, so it doesn't re-use the Preferences, or any other temporary window anymore. This seems to have been a common annoyance. More concretely, this makes the File Browser window behave as follows: * Stays on top of its parent Blender window, but not on top of non-Blender windows. * Minimizes with its parent window * Can be moved independently * Doesn't add an own item in task bars * Doesn't block other Blender windows (we may want to have this though) * Opens as floating window for tiling window managers (e.g. i3wm/Sway) Further notes: * When opening a file browser from the Preference window (or any temporary window), the main window, as the file browsers parent is moved on top of the Preferences, which makes it seem like the Preferences were closed. This is the general issue of bad secondary window handling as window activation changes. I made it so that the window is moved back once the file browser is closed. This behavior is confusing and would be nice to avoid. It's a separate issue though. * On most window managers on Linux the temporary window can not be minimized and maximized, they disable that for dialog windows. * On Windows and macOS, only minimizing is disabled, as there is no decent way yet to restore a window if it's not shown in the taskbar. Reviewed By: Brecht van Lommel, Campbell Barton, William Reynish Edits and macOS implementation by Brecht. Differential Revision: https://developer.blender.org/D5810 Part of T69652.
2019-10-03Fix T70125: crash on startup in Linux with some tablet types connectedBrecht Van Lommel
2019-10-03OpenSubdiv: Add accessor to vertex edges via refiner C-APISergey Sharybin
2019-10-03Cleanup: unused structs, struct membersCampbell Barton
2019-10-03Fix error in opensubdiv topology refiner face matching checkCampbell Barton
2019-10-02Fix T70268: Render failures with Vector pass active with OptiX in CyclesPatrick Mours
Rendering would produce invalid results or crash if the Vector pass was active but motion blur was inactive. This caused the OptiX BVH to be built with motion (because objects reported motion available), but the pipeline to be built without motion support (since with disabled motion blur this is not in the list of requested features). The two are not compatible and therefore caused issues. This patch fixes that by not building the BVH with motion if motion blur is not active (which makes sense). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5968
2019-10-02Fix T70252: Reverting to macOS 10.11 compatible API.Stefan Werner
2019-10-01Fix "motion_blur" tests with OptiX in CyclesPatrick Mours
Curves with motion blur produced wrong results with OptiX (T69801). This is because the AABBs for the motion steps were calculated from incorrect attribute data because the offset into the attribute data array was incorrect. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5961
2019-10-01Cycles: Fixed Camera inside volumes with Embree turned on.Stefan Werner
The Embree backend did not properly recognize when the camera was inside a volume and ended up ignoring those.
2019-10-01UI: Update paint crosshair for MacWilliam Reynish
This is based on feedback from users. Only affects Mac for now, Windows will be committed separately.
2019-09-30Fix "denoise_animation" tests with OptiX in CyclesPatrick Mours
The OptiX device only loads the denoising kernels when the "use_denoising" feature is active. This was not set by the calling code however and therefore they were never loaded and attempting to launch them failed (see T69801). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5946
2019-09-30Fix memory leak after using OptiX in CyclesPatrick Mours
The "optix_devices" array was not freed on exit, which caused a memory leak (see T69801). Reviewed By: brecht Differential Revision: https://developer.blender.org/D5944
2019-09-30Cleanup: spellingCampbell Barton
2019-09-30Revert "macOS: Replaced OSSpinLock with os_unfair_lock."Stefan Werner
This reverts commit 9d282d7a8d689a17ae58e94453ae99a41e91b701. os_unfair_lock requires macOS 10.12 or newer.
2019-09-27UI: Add high quality cursors on macOSWilliam Reynish
This adds the same high quality cursors on macOS as we have on Windows. These are stored as 32*32 pt PDFs, same as the built-in OS cursors Reviewed by: Brecht Van Lommel Differential Revision: https://developer.blender.org/D5907
2019-09-27Cleanup: clang-formatCampbell Barton
2019-09-26Fix Cycles bake panel showing for other renderers, after recent changesBrecht Van Lommel
2019-09-26GHOST: refresh standard cursors available for platformsHarley Acheson
* Add more standard cursor types, that platforms can optionally support. * Remove a few unused cursor types that were not properly supported and would show the wrong cursor when used. * Add native cursor files for Windows. These scale well with DPI and have anti-aliasing. Designed by Duarte Farrajota Ramos. Ref D5197
2019-09-26GHOST: add GHOST_HasWindowCursorShape() to test if standard cursor existsBrecht Van Lommel
Ref D5197
2019-09-25Cycles: Fix undefined behavior which can causes crashes with a misaligned ↵Patrick Mours
address error Cycles casts a pointer from ShaderDataTinyStorage to ShaderData, these structs by default had different alignments however (the former was 1-byte aligned, the latter 16-byte). This caused undefined behavior on at least the CUDA platform. Forcing both structs to use the same alignment fixes this. CUDA toolkits newer than 10.1 run into this because of a compiler optimization. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5883
2019-09-24Cleanup: clang-formatBrecht Van Lommel
2019-09-24Fix T68457: Cycles OpenCL Displacement ShadingJeroen Bakker
When doing simple scenes the displacement shading failed during final rendering when the displacement method is set to `Displacement + Bump`. When this option is enabled the shader uses the Vector math node. This node is part of the node group level 1. When doing simple shading only using nodes that are part of the node group level 0 the shading was rendered black. This only happened in final rendering as there the OpenCL programs are optimized to save registries. Viewport rendering rendered correctly Reviewed By: brecht Differential Revision: https://developer.blender.org/D5859
2019-09-23Revert part of "GPencil: Invert Paste operator and make Paste to Active default"Brecht Van Lommel
This commit accidentally undid a bunch of previous commits. Only the intended changes are left now.
2019-09-21Cleanup: extra semicolon, comma warningsCampbell Barton
2019-09-20UI: Fix CapitalizationYevgeny Makarov
Differential Revision: https://developer.blender.org/D5716
2019-09-19Use FFmpeg's own `av_guess_frame_rate()` function instead of guessing ourselvesSybren A. Stüvel
This was introduced in FFmpeg lavf 55.1.100 in 2013. For systems that are still on LibAV or older FFmpeg there is a fallback implementation that performs the same guess as we did before in `av_get_r_frame_rate_compat()`.
2019-09-19Cleanup: spellingCampbell Barton
2019-09-17Cycles: Viewport Rendering Memory ImprovementJeroen Bakker
Small memory reduction change by only storing the pixels of the combined pass when it is being shown in the viewport. Previously the combined pass was always calculated and present in the output buffer. The combined pass will still be calculated. It is a limitation in Blender that Cycles always had a combined pass. This patch will remove the limitation from the code base of Cycles. Blender still has the limitation, but will always request the combined renderpass when doing final rendering. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5784
2019-09-14macOS: Replaced deprecated Cocoa API calls.Stefan Werner
Most of these calls were replaced with the successors as suggested by Xcode's Fix-It. Functionality should not be affected. This reduces the number of warnings when building on macOS.
2019-09-14macOS: Replaced OSSpinLock with os_unfair_lock.Stefan Werner
OSSplinLock is a deprecated API, os_unfair_lock is its successor. This reduces the number of warnings when building on macOS.
2019-09-14Cleanup: clang-formatStefan Werner
2019-09-13macOS: Enabled posix_memalign() like on other Unix platforms.Stefan Werner