Commit Graph

150077 Commits

Author SHA1 Message Date
Campbell Barton
fc6ec4a6c0 GHOST/Wayland: cache the result of hasClipboardImage
Avoid potentially expensive file-system checks when the data-offer
has not changed.
2024-10-29 23:33:38 +11:00
Campbell Barton
f2b5b6eb9d Merge branch 'blender-v4.3-release' 2024-10-29 23:23:56 +11:00
Campbell Barton
44e719cdf6 Fix missing lock in GHOST_SystemWayland::hasClipboardImage 2024-10-29 23:21:15 +11:00
Campbell Barton
70ccc74628 Cleanup: assert that mime type overrides are exist on Wayland
Ensure the API is used as intended.
2024-10-29 23:06:31 +11:00
Campbell Barton
70657e7638 Cleanup: rename text/uri-list variable for clarity 2024-10-29 23:01:46 +11:00
Campbell Barton
f4fb3b2d51 Docs: clarify why locking isn't needed for Wayland data offer 2024-10-29 23:00:47 +11:00
Campbell Barton
6fae671aa4 Merge branch 'blender-v4.3-release' 2024-10-29 22:48:37 +11:00
Campbell Barton
3f6707efd0 Fix #129401: BMesh.clear() causes crash on garbage collection 2024-10-29 22:47:35 +11:00
Omar Emara
e94bbc5436 Compositor: Implement RGB to BW for new CPU compositor
Reference #125968.
2024-10-29 14:41:18 +03:00
Omar Emara
67474133a5 Compositor: Implement Color Ramp for new CPU compositor
Reference #125968.
2024-10-29 14:41:18 +03:00
Omar Emara
caa68b06c7 Compositor: Implement Hue Correct for new CPU compositor
Reference #125968.
2024-10-29 14:41:18 +03:00
Omar Emara
017cced29d Compositor: Implement RGB Curves for new CPU compositor
Reference #125968.
2024-10-29 14:41:18 +03:00
Bastien Montagne
e0f51d4e49 Merge branch 'blender-v4.3-release' 2024-10-29 12:28:49 +01:00
Bastien Montagne
678e6adc52 Fix (bcon24 reported) FBX export: objects export order being unreliable.
Now always order exported objects by their names, regardless of their
source (collection, viewlayer, selection...).
2024-10-29 12:28:08 +01:00
Campbell Barton
51967feb67 Merge branch 'blender-v4.3-release' 2024-10-29 22:09:12 +11:00
Campbell Barton
a42c2afcc5 Merge branch 'blender-v4.3-release' 2024-10-29 22:09:09 +11:00
Campbell Barton
4c67973100 Cleanup: missing-declarations warning 2024-10-29 22:08:59 +11:00
Campbell Barton
f377333326 Fix #129503: unwrap with subsurf at level 1 disconnects triangles
Ref !129501
2024-10-29 22:02:38 +11:00
Julian Eisel
c4774134e9 Fix: UI: Assets catalog sorting in asset shelf mixes catalogs
Sorting assets by catalog was introduced for the asset shelf in
471378c666. Intention was to keep related/similar assets closer
together. But the sorting was based on the catalog name only, so
the catalog order didn't make much sense, and closer related assets
would still end up being separated by less related ones.

Instead the full catalog path should be compared, so that the hierarchy
is reflected better, and for example sibling catalogs follow each other.
This way related assets are actually placed in close proximity, as
initially intended.

Pull Request: https://projects.blender.org/blender/blender/pulls/129469
2024-10-29 11:39:14 +01:00
Bastien Montagne
b54eac9dff Merge branch 'blender-v4.3-release' 2024-10-29 11:37:02 +01:00
Bastien Montagne
dd11978a33 I18N: Update UI translations from git/weblate repository (61be8de535853d8). 2024-10-29 11:35:53 +01:00
Sergey Sharybin
b74e4dde2b Merge branch 'blender-v4.3-release' 2024-10-29 11:29:53 +01:00
Patrick Mours
1da221659d Fix #129251: Broken OptiX denoiser output
Looks like some recent changes in the driver broke an assumption
the OptiX denoiser code in Cycles made about being able to set it up
with a different input size than later used to invoke it, which caused
broken output on older GPU architectures. This commit fixes that by
ensuring the input image size passed to `optixDenoiserSetup` matches
that passed to `optixDenoiserInvoke`, even when no tiling is used
(which is the common case).

Pull Request: https://projects.blender.org/blender/blender/pulls/129398
2024-10-29 11:29:22 +01:00
Hans Goudey
f9f77c582c Merge branch 'blender-v4.3-release' 2024-10-29 11:21:30 +01:00
Hans Goudey
5d548dc3a1 Fix #128958: UV unwrap crash with "Use Subdivision" option
When the modifier is disabled with level 0, the corner_vert array
wasn't properly created in the subdivided mesh. The simplest
solution is to just skip the subdiv processing for the unwrap when
the level is 0 and nothing would happen anyway.

Pull Request: https://projects.blender.org/blender/blender/pulls/129447
2024-10-29 11:20:30 +01:00
Omar Emara
8d4d59d0cd Compositor: Implement Exposure node for new CPU compositor
Reference #125968.
2024-10-29 10:46:39 +03:00
Omar Emara
3eab0a4ad0 Compositor: Implement Color Correction for new CPU compositor
Reference #125968.
2024-10-29 10:45:47 +03:00
Omar Emara
c6d4c759eb Compositor: Implement Color Balance node for new CPU compositor
Reference #125968.
2024-10-29 10:44:20 +03:00
Campbell Barton
c3b180ef92 Merge branch 'blender-v4.3-release' 2024-10-29 18:28:02 +11:00
Campbell Barton
28a8486e2b Fix memory leak with PyConfig initialization 2024-10-29 18:25:21 +11:00
Campbell Barton
88cac9b3ea Merge branch 'blender-v4.3-release' 2024-10-29 18:10:38 +11:00
Campbell Barton
ccaf144e6d Cleanup: compare full platform name for "darwin"
Avoid checking a shortened prefix when it's not necessary.
2024-10-29 18:09:47 +11:00
Campbell Barton
0c8177f710 Merge branch 'blender-v4.3-release' 2024-10-29 14:45:57 +11:00
Campbell Barton
99e52016ba Merge branch 'blender-v4.3-release' 2024-10-29 14:45:53 +11:00
Campbell Barton
731712e3a7 AUTHORS: add 1 new author (via override) 2024-10-29 14:43:10 +11:00
Campbell Barton
066c6f3674 Fix UBSAN warning caused by uninitialized memory use
Unwrapping warned that a non 0/1 boolean value was being set.

Initialize all members of PVert since they would be accessed
when duplicating a PVert causing the uninitialized memory to be read.
2024-10-29 14:36:13 +11:00
Jesse Yurkovich
530396289a USD: make use of our valid() API for consistent validation
It was difficult to notice, but we weren't making use of the
`USDPrimReader::valid()` API calls during import.

In many(all?) cases this was fine as we would check the validity during
`read_object_data` or similar anyhow. Rather than just removing the API
entirely, this patch attempts to use it and has the following design:
- Where ever and whenever a reader is created, in addition to checking
  null, we should now also check for `valid()` This happens in
  `usd_capi_import` and `usd_reader_stage`.
- The `valid()` call is intended to check just the USD object status.
  Blender object checks are handled elsewhere (same as they are
  currently) since these objects are often not available at the time of
  the call to `valid()`

This has the benefit that we at least know that USD is valid before our
heavy reading code ever starts executing. Some duplicate checks are now
removed.

Pull Request: https://projects.blender.org/blender/blender/pulls/129181
2024-10-28 23:00:40 +01:00
Sean Kim
e27530e4a2 Merge branch 'blender-v4.3-release' 2024-10-28 14:59:17 -07:00
Sean Kim
f408531b9b Fix #129448: Undoing face set changes produces artifacts on dense mesh
Introduced in 60ab232afb

An incorrect subset of nodes was calculated as the code prior to this
commit was inspecting vertex indices instead of face indices.

Pull Request: https://projects.blender.org/blender/blender/pulls/129487
2024-10-28 22:52:40 +01:00
Hans Goudey
d87f604a0d Fix #129428: Sculpt undo crash after remesh with deform modifier
This "update object for edit" call is incorrect because it retrieves the
evaluated state for the object that the undo itself invalidates. The
object/modifiers must reevaluate before we rebuild the deformation
matrix array (which is the operation causing the crash).

Pull Request: https://projects.blender.org/blender/blender/pulls/129474
2024-10-28 22:40:46 +01:00
Julian Eisel
58a0b565cd Fix: Curves: Missing brush assets selector in curves sculpt mode
All sculpt and paint modes should have the brush selector asset shelf
popup in the tool settings header. For curves sculpt mode this was
missing. There's no good reason for this, probably just an oversight.
2024-10-28 18:23:43 +01:00
Julian Eisel
8b0206fa26 Fix: Grease Pencil: Brush selector shortcut missing in vertex paint mode
All sculpt and paint modes should bring up the brush selector asset
shelf popup on Shift+Spacebar. For grease pencil vertex paint mode the
shortcut was missing. I think it was added earlier, but only for the
grease pencil v2 keymap, the v3 one got merged later only.
2024-10-28 18:19:10 +01:00
Pablo Vazquez
9b7e660fad UI: Allow Region Overlap in Node Editor sidebar
Make sidebar see-through when Region Overlap
is enabled in the Preferences.

Pull Request: https://projects.blender.org/blender/blender/pulls/129466
2024-10-28 16:30:51 +01:00
Omar Emara
928794c6ac Cleanup: Remove dead code 2024-10-28 14:26:59 +03:00
Omar Emara
61eb3e06df Merge branch 'blender-v4.3-release' 2024-10-28 14:19:09 +03:00
Omar Emara
f0125f26fd Fix #129435: Bad Cryptomatte output in camera view
The Cryptomatte node produces a bad output when the viewport is in
camera view. That's because compositing is limited to the camera region
in that case, but the node assumes the full viewport size. To fix this,
only consider the compositing region instead of the full viewport.
2024-10-28 14:14:49 +03:00
Omar Emara
0a52f2203e Compositor: Implement Luminance Matte node for new CPU compositor
Reference #125968.
2024-10-28 12:56:10 +03:00
Omar Emara
1c19dc9b20 Compositor: Implement Distance Matte node for new CPU compositor
Reference #125968.
2024-10-28 12:55:25 +03:00
Omar Emara
04332ef6b8 Compositor: Implement Difference Matte node for new CPU compositor
Reference #125968.
2024-10-28 12:54:35 +03:00
Omar Emara
8b18831f9d Compositor: Implement Color Spill node for new CPU compositor
Reference #125968.
2024-10-28 12:53:50 +03:00