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
2022-05-30LineArt: CasYimingWu
2022-05-30Merge branch 'master' into temp-lineart-containedYimingWu
2022-05-29Merge branch 'blender-v3.2-release'Johnny Matthews
2022-05-29Fix T98400: Duplicate node crashJohnny Matthews
2022-05-29Fix T98400: Duplicate node crashJohnny Matthews
2022-05-29Fix: Failed assert for evaluated lengths of single point curvesHans Goudey
Since 2d80f814cc249d26b01f, curves always have evaluated points, but single point curves do no have any evaluated segments, and the leading zero length isn't stored in the curves length cache.
2022-05-29Cleanup: Fix warning from typo in include directiveHans Goudey
2022-05-29Cleanup: Simplify custom data file writing processHans Goudey
Previously the function had a fair amount of ugly boilerplate to avoid allocating the temporary layers array, and then free it if necessary. `blender::Vector` solves that problem more elegantly. Passing a span, using references in a few cases, and using a switch statement also make the functions simpler. This refactoring is in preparation for D14583 and D14685. Differential Revision: https://developer.blender.org/D15011
2022-05-29Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backendsCampbell Barton
Also early exit in some functions.
2022-05-29Merge branch 'blender-v3.2-release'Germano Cavalcante
2022-05-29Fix (unreported): cyclic snap of curve handlesGermano Cavalcante
The logic of skipping selected handles was inverted and confusing.
2022-05-28Select Similar: hide 'compare' from UI when not usedPhilipp Oeser
When the 'compare' is not used for the resulting selection, just hide it. This is the case for 'Vertex Groups' atm (where only membership is taken into account). Similar to rB9dc9692b0979. Differential Revision: https://developer.blender.org/D14979
2022-05-28XR: Fix controller flicker when switching action setsPeter Kim
This could happen when switching between custom action sets that both had controller pose actions. Problem was that controller data is cleared when changing action sets, and this clearing was done when handling WM events, which always occurs after XR controller data is updated from GHOST. Now, instead of activating the action set immediately, delay activation until just before the next XR actions sync.
2022-05-28Fix pasting text from Blender in GHOST/WaylandCampbell Barton
The nil terminator character shouldn't be included, causing an extra character to be added in some cases.
2022-05-28Fix switching between different grab types with GHOST/WaylandCampbell Barton
Since [0], using the view navigation gizmo crashed with Wayland. This only worked previously because GHOST_kGrabWrap was ignored. Now the previous grab state is disabled before switching to a new grab state. [0]: da9e14b0b91c81d29c4e44f40ac299ae847367de
2022-05-28Merge remote-tracking branch 'origin/blender-v3.2-release'Jesse Yurkovich
2022-05-28Re-fix T97366: Support single-file UDIMsJesse Yurkovich
The original fix for T97366 was too restrictive and breaks real-world cases of single-file UDIM textures. See D13297 for an example. This patch effectively reverts the original fix and instead fixes the downstream code to accept single-file ranges as necessary. Note: This means it is very important for users to make use of the "UDIM detection" option during `image.open` or drag n' drop scenarios in order to declare their intent when loading their files. Differential Revision: https://developer.blender.org/D14853
2022-05-28Fix unreported misuse of Win32 clipboard APIJesse Yurkovich
An ASAN build highlighted a longstanding bug during ctrl+c operations inside various text widgets. The existing code had mismatched memory lock/unlock calls and was using the wrong allocator. Fix the code surrounding `SetClipboardData` to be correct per MSDN: https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setclipboarddata Differential Revision: https://developer.blender.org/D15039
2022-05-27Merge branch 'blender-v3.2-release'Brecht Van Lommel
2022-05-27Fix T98270: Cycles shows black with color values > 65K in GPU renderBrecht Van Lommel
After recent changes to Nishita sky to clamp negative colors, the pixels ended up a bit brighter which lead to them exceeding the half float max value. The CUDA float to half function seems to need clamping.
2022-05-27Cleanup: Use new macro for deprecated ID typesJulian Eisel
Uses the macro introduced in b45f410b315 where it makes sense.
2022-05-27Merge branch 'blender-v3.2-release'Julian Eisel
2022-05-27Merge branch 'blender-v3.2-release'Brecht Van Lommel
2022-05-27UI: add missing tooltips for the shader node optionsArye Ramaty
Differential Revision: https://developer.blender.org/D14878
2022-05-27Fix T97790: Crash in Outliner "Blender File" mode with old filesJulian Eisel
IPO data-block types are deprecated since 2.5. Don't show them in the Outliner at all. Differential Revision: https://developer.blender.org/D15049
2022-05-27Fix T96397: Cycles missing HIP support for gfx1035 devicesJagannadhan Ravi
Such as AMD Radeon RX 6700S. Differential Revision: https://developer.blender.org/D13495
2022-05-27Fix Cycles not rendering byte precision vertex domain colorsBrecht Van Lommel
Code was not yet updated to use generic attributes for vertex colors. This also makes generic attributes work for adaptive subdivision.
2022-05-27Merge branch 'blender-v3.2-release'Antonio Vazquez
2022-05-27GPencil: Fix unreported Bake animation errorAntonio Vazquez
This bug was introduced in commit https://developer.blender.org/rB5188c14718c56e4d088d3c5bb3ce3ed9ed8b7bdc because the object transform was not applied when baking the object. Thanks to @frogstomp for the head up.
2022-05-27Cleanup: Cycles, fix "parameter unused" warningSybren A. Stüvel
Fix "parameter unused" warning that shows up when building without NanoVDB. No functional changes.
2022-05-27Merge branch 'blender-v3.2-release'Julian Eisel
2022-05-27Fix T97918: Crash when changing "Frame All" shortcut from context menuJulian Eisel
After removing the default 'Home' shortcut for "Frame All", a NDOF (3D Mouse) default shortcut was still available for the operator. The event filtering introduced in 4357fb63db77 was missing the NDOF filtering logic. So while the context menu correctly found the NDOF keymap item, its actual shortcut change/removal code incorrectly filtered out the NDOF keymap items and thus failed to find the item.
2022-05-27Merge branch 'blender-v3.2-release'Sergey Sharybin
2022-05-27Fix T98379: Wrong evaluation when deactivating/activating collectionsSergey Sharybin
This is a regression caused by a230445caec6. The internal cause of the issue was that the synchronization component was no longer tagged as visible (and hence not evaluated) as it not connected to any directly visible IDs. Changed the logic in a way that if any component of an ID is evaluated the synchronization component will be evaluated as well. The naming of the flag in the component node is a bit confusing, but for the simplicity of the change for the upcoming release left it unchanged.
2022-05-27Fix T97500: NLA strip names drawn outside stripColin Basnett
Fix T97500 by removing the logic that for some unknown reason draws the entire string if the min/max were swapped. This function is only called in two places, once here in the NLA, and the VSE. The bug only materializes in the NLA though. Reviewed By: sybren Differential Revision: https://developer.blender.org/D14742
2022-05-27Fix T97974: Marker line affected by NLA strip muteColin Basnett
Fix T97974 by having the marker rendering code explicitly set the required line width. Reviewed By: sybren Differential Revision: https://developer.blender.org/D14890
2022-05-27Merge remote-tracking branch 'origin/blender-v3.2-release'Kévin Dietrich
2022-05-27GPU: Remove cached full/scaled image texture.Jeroen Bakker
full scaled image isn't used anymore. It was added to use a different scale when displaying an image in the image editor. This was replaced by the image engine redesign. This change will reduce complexity of {T98375}.
2022-05-27Fix fuzzy ID deletion user count check.Bastien Montagne
`BKE_id_delete` should only check for consistency of user count with regards to the tags and flags of the ID, not 'protect' nor even warn in case a 'fake user' ID is deleted (such higher-level checks are to be handled by higher-level code). Also replace the assert + debug print by a CLOG error, this avoids 'assert crash' while still failing tests, and always producing a useful message. Fixes T98374 and T98260.
2022-05-27Fix GHOST_kGrabHide in WaylandCampbell Barton
Dragging number buttons wasn't grabbing the cursor and would stop when the pointer reached the screen edge & wasn't setting the cursor visible on completion.
2022-05-27GHOST/Wayland: support mouse buttons 4-7Campbell Barton
2022-05-27Cleanup: unused argument warningsCampbell Barton
2022-05-27Fix non-square cursor creation in GHOST/SDLCampbell Barton
Currently all cursors are square, so this didn't show up as a bug.
2022-05-27Fix error checking the search callbackCampbell Barton
Error in [0] caused the `set` callback be checked as the search callback. [0]: 3f3d82cfe9cefe4bfd9da3d283dec4a1923ec22d
2022-05-26Fix "day" unit lengthErik
The day is currently specified as 90000 seconds which is 25 hours. Obviously this is wrong, and this commit changes it to 86400s/24 hours. Differential Revision: https://developer.blender.org/D15034
2022-05-26Intern: Adding atomic_load/store support for different types.YimingWu
Mostly using built-in `__atomic` functions, with a special code path using `MemoryBarrier()`on windows. Authored By: Sergey Sharybin (sergey) Reviewed By: Sergey Sharybin (sergey), Ray molenkamp (LazyDodo) Ref D15020
2022-05-26Fix T98385: Color attributes not working with GPU subdivisionKévin Dietrich
Contrary to coarse extraction, GPU extraction uses the same buffer for the coarse data, only the final GPU buffer needs to be offset.
2022-05-26Fix T98392: GPU subdivision crash with knife toolsKévin Dietrich
The face dots normals may not be always requested, thus leading to a crash by null pointer dereference.
2022-05-26Merge branch 'blender-v3.2-release'Campbell Barton
2022-05-26Merge branch 'blender-v3.2-release'Campbell Barton