Commit Graph

137807 Commits

Author SHA1 Message Date
Aras Pranckevicius
c059eb73d9 Merge branch 'blender-v4.2-release' 2024-06-20 14:06:20 +03:00
Aras Pranckevicius
b76a95b8b4 Fix: VSE timeline strip outline readability
With selected strips, it is not clear where one of them begins and another
ends since their outlines are right next to each other.

This changes strip look so that:
- All strips have consistent dark 1pt outline at the outer edge.
- Selected strips have 2pt highlight inside said outer edge.
- Selected strips also have a 1pt wide 33% opacity darker line inside the
  selection highlight (and inside possible handles). To improve readability
  in case strip content happens to be similar to selection/active color.

Images in PR.

Pull Request: https://projects.blender.org/blender/blender/pulls/123431
2024-06-20 13:01:26 +02:00
Thomas Dinges
c7a5e08162 Tools: Print second list with title and creation date for issues
Also sort by number / creation date.
2024-06-20 12:49:31 +02:00
Luya Tshimbalanga
a9fe638972 Fix: Cycles runtime compile using outdated HIP parameters
This commit resolves an warning message.

Signed-off-by: Luya Tshimbalanga <luya@fedoraproject.org>

Pull Request: https://projects.blender.org/blender/blender/pulls/118401
2024-06-20 12:43:27 +02:00
Falk David
6daf139694 GPv3: Draw Tool: Outline setting
This ports the outline setting from GPv2 to GPv3.

Internally, the same code as for the outline modifier is used.

Pull Request: https://projects.blender.org/blender/blender/pulls/123440
2024-06-20 12:07:24 +02:00
Jeroen Bakker
4353b7ffba Vulkan: Remove unused code
Vulkan backend has recently switched to a render graph approach. Many
code was left so we could develop the render graph beside the previous
implementation. Last week we removed the switch. This PR will remove
most of the unused code. There might be some left and will be removed
when detected.

Pull Request: https://projects.blender.org/blender/blender/pulls/123422
2024-06-20 11:34:19 +02:00
Lukas Tönne
ccb3989865 GPv3: Implement the alpha threshold setting for the Fill tool
The fill tool can take opacity into account ("Advanced" brush settings).
In that case any point with a total opacity lower than the threshold is
rendered as a transparent boundary.

This was still a hardcoded setting in the fill tool, now uses brush
settings.

Pull Request: https://projects.blender.org/blender/blender/pulls/123469
2024-06-20 11:14:33 +02:00
Pratik Borhade
88553d07b1 Cleanup: Remove semicolon
It was added in e42281084b
Resolves #123466
2024-06-20 14:36:10 +05:30
Bastien Montagne
f3f0d29c51 Merge branch 'blender-v4.2-release' 2024-06-20 11:03:09 +02:00
Bastien Montagne
32ece7d604 Fix (unreported) 'copy' version of MEM_cnew not handling alignment.
Almost certainly not an issue in current codebase (this 'copy' version
of `MEM_cnew` does not seem much used in the first place), but better be
consistent with the 'allocating' version.

Pull Request: https://projects.blender.org/blender/blender/pulls/123445
2024-06-20 11:00:34 +02:00
Bastien Montagne
461ee89b61 Cleanup: Sync 'alignment' checks of guarded allocator with lockfree one.
Sync a bit better the checks on the alignment value between
`MEM_lockfree_mallocN_aligned` and `MEM_guarded_mallocN_aligned`.

The only significant change, in `MEM_guarded_mallocN_aligned`, is the
usage of `ALIGNED_MALLOC_MINIMUM_ALIGNMENT` instead of 'magic value' `8`.
This should not have any effect on 64bits platforms, but on 32bits ones
the minimum alignment would be reduced from `8` to `4` now.

NOTE: we could also consider making these checks part of a utils
function, instead of duplicating them in the codebase.
2024-06-20 11:00:33 +02:00
Sybren A. Stüvel
5e6e8bcfb2 Refactor: Anim, remove unnecessary nullptr checks
Remove some `nullptr` checks from an operator exec function, which are
unnecessary because the corresponding poll function already checks for
them.

No functional changes.
2024-06-20 10:34:22 +02:00
Sybren A. Stüvel
b07f0e8a65 Anim: prevent pushing down layered Actions onto the NLA
Prevent creating NLA strips from layered Actions via the 'Push Down'
operator.

Maybe in the future the NLA will support layered Actions (as a transitional
phase, before the NLA is replaced with layered Actions itself). For now,
it's better to create stable boundaries to prevent their use in the NLA.
When NLA support is being worked on, those boundaries can be removed again.

Pull Request: https://projects.blender.org/blender/blender/pulls/123467
2024-06-20 10:25:52 +02:00
Sybren A. Stüvel
4c0a77ee8f Anim: avoid logged warnings when visiting layered Action in NLA evaluation
Avoid logging actions about `action->idroot` not matching, when evaluating
the NLA and visiting a layered Action. Layered Actions are not limited to
a single data-block type, and so the code should ignore `action->idroot`.
2024-06-20 10:05:34 +02:00
Sybren A. Stüvel
aa0e5368e7 Anim: add layered Action support to BKE_action_frame_range_calc()
Add layered Action support to `BKE_action_frame_range_calc()`, by
looping over all F-Curves of all Bindings in the Action.

Introduce `animrig::fcurves_all(action)`, which returns a vector of all
F-Curves in the Action, both for legacy and layered Actions.

No functional changes for legacy Actions.
2024-06-20 10:05:34 +02:00
Sybren A. Stüvel
54ed2a927e Refactor: Anim, simplify BKE_action_frame_range_calc()
Simplify `BKE_action_frame_range_calc()` by returning early and replacing
`short` with `bool`.

No functional changes.
2024-06-20 10:05:34 +02:00
Sybren A. Stüvel
b9283baf4e Refactor: Anim, simplify action_pushdown_poll()
Simplify `action_pushdown_poll()` by flipping conditions & returning early.

No functional changes.
2024-06-20 10:05:34 +02:00
Campbell Barton
7326320e81 Merge branch 'blender-v4.2-release' 2024-06-20 17:31:00 +10:00
noodlebox
de986e68d4 Cleanup: spelling and duplicates in local dictionary
Correct some misspellings in the custom spellcheck dictionary as well
as any instances of the previous spellings in code comments.

Ref !123459
2024-06-20 17:30:08 +10:00
Campbell Barton
4326585c5b Merge branch 'blender-v4.2-release' 2024-06-20 17:12:48 +10:00
Campbell Barton
801e47f42a Extensions: support "Install from Disk" for remote repositories
When installing from disk, include remote repositories in the list.

- Works with drag & drop from file system.
- This is the only way to "downgrade" an extensions.
2024-06-20 17:10:01 +10:00
YimingWu
ef1d5c629b Fix #123212: Support LSGT key for X11.
The LSGT (GrLess) key is not processed in X11 while it's processed in
Win32. This attempts to fix the behaviour.

Pull Request: https://projects.blender.org/blender/blender/pulls/123354
2024-06-20 08:01:43 +02:00
Campbell Barton
f89cb1ef77 Merge branch 'blender-v4.2-release' 2024-06-20 15:17:57 +10:00
Campbell Barton
2295f6b824 Merge branch 'blender-v4.2-release' 2024-06-20 15:17:54 +10:00
Brecht Van Lommel
d39d23100f Cleanup: Fix outdated comments about library dependencies 2024-06-20 15:17:21 +10:00
Campbell Barton
e2522e5f03 Extensions: support displaying "Orphan" extensions
Extensions in remote repositories that have no remote entries (orphans)
are now listed in the UI and the "list" sub-command.

Required for installing into remote repositories from disk (see #122302)

Details:

- Consistent ordering (local, remote) arguments.
- Use zip(..., strict=True) when sequences are expected to be aligned.
2024-06-20 15:16:05 +10:00
Jesse Yurkovich
7ba935f7dd USD: Add animation export test
Add an export test to cover some simple animation scenarios that would
have protected against recent bugs:
- A simple object animation (would have prevented `122625`)
- An armature animation (would have prevented `724a674baed`)
- A shape key animation (would have indirectly found `6c5ce883e73`)

Pull Request: https://projects.blender.org/blender/blender/pulls/123458
2024-06-20 03:50:26 +02:00
Jesse Yurkovich
a6bc1d27f5 USD: Add animation export test file 2024-06-19 18:02:29 -07:00
Brecht Van Lommel
66652ae12e Cleanup: Fix outdated comments about library dependencies 2024-06-20 02:30:22 +02:00
Hans Goudey
7997d62598 Sculpt: Initial data oriented refactor for crease/blob brushes
Part of #118145.
I added a scene argument to the brush symmetry operation functions.
Besides that, the changes here are just like the other refactors.

Pull Request: https://projects.blender.org/blender/blender/pulls/123231
2024-06-20 00:15:47 +02:00
Jesse Yurkovich
ffad89f028 Merge branch 'blender-v4.2-release' 2024-06-19 12:48:56 -07:00
Jesse Yurkovich
6c5ce883e7 Fix: USD access of deleted mesh during custom property write
We were accessing `mesh` but it's been deleted already.

Pull Request: https://projects.blender.org/blender/blender/pulls/123426
2024-06-19 21:44:59 +02:00
Sean Kim
d908ae7fcc Refactor: Add helper method for creating face set attribute
Pull Request: https://projects.blender.org/blender/blender/pulls/123401
2024-06-19 21:18:23 +02:00
Brecht Van Lommel
cbc6170519 Merge branch 'blender-v4.2-release' 2024-06-19 20:54:33 +02:00
salipourto
0b20c28875 Cycles: HIP support for AMD Strix APUs
This required various compiler and SDK updates
* HIP on Windows updated to 5.7.3
* HIP on Linux updated to 6.3.1
* HIP-RT updated to version 2.0.e1ff193

Co-authored-by: Brecht Van Lommel <brecht@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/123256
2024-06-19 20:54:04 +02:00
Clément Foucault
dea7620e0b Fix: EEVEE: Wrong format and barriers for AO 2024-06-19 20:25:49 +02:00
Hans Goudey
90c4c48bbf Sculpt: Specialize mask gesture writing
Part of #118145.
Use the recently added utility for base mesh data, and for BMesh and
multires add a compromise that gets some benefits of simpler loops
but still avoids some duplication.

Also add move a recently added utility to only affect visible grid
vertices to the relevant header and reuse it. I expect this won't be a
permanent part of the API but for now it's better than duplicating
all the loops twice.
2024-06-19 13:56:47 -04:00
Hans Goudey
2639b1833c Sculpt: Avoid depsgraph evaluation when adding mask attribute
For base mesh sculpting, we already draw the original data instead of the
evaluated data, so the evaluated mesh doesn't have to be updated to
contain the new attribute. This is different from multires sculpting
because sculpt brushes and drawing only deal with the evaluated
SubdivCCG, not the original multires modifier data. Removing the
unnecessary update removes a noticeable pause when clearing and
adding a mask.
2024-06-19 13:56:47 -04:00
Hans Goudey
8dba1a9e5d Sculpt: Use utilities for "Mask by Color" operator
Part of #118145.
Use a utility for updating mask values and detecting changes and
pushing undo steps. Also use the attribute API for accessing color
attributes and pass flood fill data as arguments instead of a separate
struct.
2024-06-19 13:56:47 -04:00
Hans Goudey
b343d92a01 Cleanup: Sculpt: Deduplicate code for inverting base mesh mask 2024-06-19 13:56:47 -04:00
Hans Goudey
1d83a88fdc Sculpt: Replace PBVH iteration macro for mask init operator
Part of #118145.
There is more boilerplate now, but hot loops are generally simpler,
and I think we can reuse the structure for other operators that create
masks, similar to `vert_hide_update`.
2024-06-19 13:56:47 -04:00
Hans Goudey
f05409e468 Cleanup: Sculpt: Use enum class for mask init mode
Also remove some useless comments
2024-06-19 13:56:47 -04:00
Pablo Vazquez
c2991a1751 VSE: Adjust label of subtract/multiply effect strip
When adding new effect strips, label "Subtract" instead of "Sub",
and "Multiply" instead of "Mul".
2024-06-19 19:44:43 +02:00
Brecht Van Lommel
20de5647e3 Build: Add /opt/rocm as hint for finding HIP compiler 2024-06-19 19:35:36 +02:00
Brecht Van Lommel
1dfa553822 Build: Use a different folder per architecture for "make deps"
To avoid accidentally trying to build different archs in the same
folder.
2024-06-19 19:02:39 +02:00
Falk David
bd67c3b8ef GPv3: Update names of layers in modifier filters when layer name changes
This adds additional logic to `GreasePencil::rename_node` to rename
the strings in the modifier influence data.

This is similar to how `ED_armature_bone_rename` handles renaming of
strings.

Resolves #123321.

Pull Request: https://projects.blender.org/blender/blender/pulls/123365
2024-06-19 18:57:09 +02:00
Miguel Pozo
accf947183 Merge branch 'blender-v4.2-release' 2024-06-19 18:44:31 +02:00
Miguel Pozo
4153fa07f5 EEVEE: Update reference images for tests 2024-06-19 18:44:23 +02:00
Miguel Pozo
02f6ea906e EEVEE: Update reference images for tests 2024-06-19 18:43:40 +02:00
Jacques Lucke
ae4cee19ba Merge branch 'blender-v4.2-release' 2024-06-19 18:35:45 +02:00