Commit Graph

3357 Commits

Author SHA1 Message Date
codywinch 474fe30758 GOOENGINE: Fix light group offset
Was breaking lighting on default materials
2026-02-10 22:23:36 -06:00
codywinch 087c6c0f5a GOOENGINE: Turn off light/shadow linking panel
Hides the linking panels for goo engine
2026-01-11 14:46:38 -06:00
codywinch 91dbadb622 GOOENGINE: Add geometry nodes active camera override
Adds a second camera property to the scene that is used only by geometry nodes in the Active Camera node. Necessary for our new environment file pipeline
2025-11-30 15:44:10 -06:00
codywinch ad23d70d07 GOOENGINE: Fix 4.4 merge errors
- Version off shader compile parsing so gooengine uses BLENDER_REQUIRE still
- Localize the common libs that goo engine uses
- Fix library submodules
- Restore datafiles
2025-11-08 23:31:37 -06:00
codywinch 750d06b1cd Merge remote-tracking branch 'origin/blender-v4.4-release' into goo-engine-v4.4-release 2025-11-04 15:01:24 -06:00
codywinch de00a24179 GOOENGINE: Fix light group bit error
Errors when more than 31 light groups before
2025-10-29 10:48:00 -05:00
codywinch ba60b2412c GOOENGINE: OKLAB Color Ramp
Patches originally written by Joseph and Thorn. Thank you!

New color ramp node with a better hue shifting interpolation.
Kept separate to avoid versioning issues
2025-10-17 19:07:43 -05:00
codywinch 53f54556f3 GOOENGINE: Add light info node
Patches originally written by Joseph and Thorn. Thank you!

Adds a light info node
2025-10-17 17:38:28 -05:00
codywinch a1bd3eb832 GOOENGINE: Water Ripples Node
Patches originally written by Joseph and Thorn. Thank you!

Adds a water ripple node
2025-10-17 17:06:27 -05:00
codywinch 0deb24b0c7 GOOENGINE: Twirl Node
Patches originally written by Joseph and Thorn. Thank you!

Adds a twirl vector node
2025-10-17 16:39:27 -05:00
codywinch 7d81a8b19e GOOENGINE: Hex Grid node
Patches originally written by Joseph and Thorn. Thank you!

Implements a hex grid texture node
2025-10-17 16:22:12 -05:00
codywinch a049486fac GOOENGINE: UI QoL changes
Patches originally written by Joseph and Thorn. Thank you!

Adds the film transparent checkbox to the world panel for easy access
Puts the Topology Mirror boolean as a button next to the axis
Adds the scene camera selector to the top bar for easy access
2025-10-17 16:01:34 -05:00
codywinch 88e0d54d6b GOOENGINE: View Layer material/world overrides
Patch originally written by Joseph and Thorn. Thank you!
2025-10-17 15:44:28 -05:00
codywinch be7c62b6c0 GOOENGINE: Add autoclose stroke option for gpencil strokes
Update for GPv3
2025-10-12 20:51:43 -05:00
codywinch 2dbda3986c GOOENGINE: Restore render panels
Shadows and Indirect Lighting panels were missing
2025-10-11 22:41:16 -05:00
codywinch e4e6fd9ebf Last bit of merge fixes hopefully 2025-09-29 10:40:45 -05:00
codywinch d35ff60b60 GOOENGINE: Restore UI panels 2025-09-29 09:31:31 -05:00
codywinch e2a66578dc Merge branch 'blender-v4.3-release' into goo-engine-v4.2-release 2025-09-28 11:42:56 -05:00
codywinch 42b95be2f8 GOOENGINE: Restore Eevee defaults
Scene defaults to eevee
Versioning for eevee
Restore eevee bloom
NULL replace nullptr
Eevee versioing for Goo Nodes
Fix UI changes
Update Splash image
2025-09-27 11:07:41 -05:00
codywinch 1aa1bb4f5e Merge branch 'blender-v4.2-release' into goo-engine-v4.1-release 2025-09-27 10:03:48 -05:00
codywinch 268b286c69 Revert "UI: Tree-view scrolling and resizing support"
This reverts commit 6a1210ff3f.
2025-09-27 09:23:45 -05:00
Bastien Montagne a3491762b5 Fix #144592: FBX exporter: Invalid memory access when exporting tangents.
Since the tangent attributes are now recomputed inside the loop over uv
layers, looping directly over this mesh data is dangerous, as computing
the tangents attributes might trigger some re-allocations, leading to
invalid memory accesses when accessing the next uv layer.

Solved by caching uv layers' names in a list beforehand, the uvlayers
themselves are not even needed for tangent data handling.

Regression from e0a9e98cbd.
2025-08-19 16:37:51 +02:00
Denis Meyzer c945ea9b74 Fix: Only last tangents layer is exported to fbx when mesh has multiple uv layers
Only last tangents layer was written to all tangent layers before this fix.

Code before fix evaluate tangents for all layers into mesh loops data (which keeps data only for one layer) and then writes information about 'each' layer which is actually only the last one.
Code after fix evaluates tangents in the beginning of the loop that exports tangent data so that data for correct layer is being written into fbx.

Co-authored-by: Andrey Zhitkov

Pull Request: https://projects.blender.org/blender/blender/pulls/141839
2025-08-19 16:37:51 +02:00
Campbell Barton 7629abe435 4.2LTS: Extensions: forward any errors setting up wheels to reports
When actions on extensions failed setup extensions, errors weren't
forwarded to the user and were only visible in the terminal.

---

Back ported from fb3fe458bf

Pull Request: https://projects.blender.org/blender/blender/pulls/139017
2025-05-19 10:13:01 +02:00
Sergey Sharybin af21da1282 Move tests/data and assets to the main repository
This change moves the tests data files and publish folder of assets
repository to the main blender.git repository as LFS files.

The goal of this change is to eliminate toil of modifying tests,
cherry-picking changes to LFS branches, adding tests as part of a
PR which brings new features or fixes.

More detailed explanation and conversation can be found in the
design task.

Ref #137215

Co-authored-by: Brecht Van Lommel <brecht@blender.org>

Pull Request: https://projects.blender.org/blender/blender/pulls/137219

Pull Request: https://projects.blender.org/blender/blender/pulls/138487
2025-05-06 13:42:47 +02:00
Falk David 7140dace7a Fix #136538: Grease Pencil: Remove unused "Sample Color" keymap
This was meant to be used by GPv3, but ended up also being called
from GPv2 Draw Mode.
Removes the entry since it's not doing anything.

Pull Request: https://projects.blender.org/blender/blender/pulls/136599
2025-04-11 13:31:58 +02:00
Sybren A. Stüvel ea6d65db5a Fix #137041: Bugs with Slotted Actions and the Available Keying Set
Make the 'Available' keying set look at the F-Curves for the assigned
slot, instead of the backward-compatible API (which only sees the F-Curves
for the first slot).

Pull Request: https://projects.blender.org/blender/blender/pulls/137131
2025-04-08 11:20:13 +02:00
Sybren A. Stüvel 1e0e49e3ee Fix #136947: Duplicate Action Slot doesn't duplicate animation data
The "new/duplicate" button in the Action Slot selector did not actually
duplicate, and always acted as a "new" button.

This introduces the RNA function `ActionSlot.duplicate()`, which takes
care of duplicating all the animation data associated with the slot as
well. The semantics of this function should remain valid in the
future, when Actions support multiple layers & strips. Note that this
new function does not assign the slot, it just duplicates it and its
data. The assignment of this duplicated slot is done in Python,
through the already-existing API for this.

Pull Request: https://projects.blender.org/blender/blender/pulls/137087
2025-04-07 16:56:35 +02:00
Christoph Lendenfeld a89d6e0544 Fix: Retain slot name when baking actions
Previously when an action was baked, the slot name was not retained.
This causes problems when switching between actions because the slot
will not automatically be assigned.

This is now fixed by ensuring that the name of the last assigned slot
is used to create the new slot.

----

Backported from [#136814: Fix: Retain slot name when baking action](https://projects.blender.org/blender/blender/pulls/136814)
Change is exactly the same, except for the unit test code because the test in question doesn't exist for 4.4

Pull Request: https://projects.blender.org/blender/blender/pulls/136925
2025-04-03 11:24:57 +02:00
Julien Duroure d5fc1b070e Fix: glTF export: Fix NLA animation mode export
Fix glTF export - NLA animation mode
Wrong actions / NLA was retrieved after recent changes for slotted actions

Pull Request: https://projects.blender.org/blender/blender/pulls/136877
2025-04-02 12:12:16 +02:00
Sybren A. Stüvel ec923171df Fix #136706: Converting bone rotation with Rigify crashes Blender
Fix a crash that was caused by looping over a collection and deleting
items from that collection at the same time.

Pull Request: https://projects.blender.org/blender/blender/pulls/136758
2025-03-31 16:16:12 +02:00
Brecht Van Lommel 1c953fca2e Fix: Blender as Python Module shared library directory wrong
This could affect for example the USD and MaterialX Python modules
that are now bundled, and need appropriate paths to their libraries.

Ref #134676

Pull Request: https://projects.blender.org/blender/blender/pulls/134937
2025-03-13 14:36:39 +01:00
Pratik Borhade 5a09715db9 Fix #135847: Grease Pencil: Empty material slot doesn't show icon
Move those material specific conditions below so that `icon` is always
drawn in UI even when material does not exist at specific slot.

Pull Request: https://projects.blender.org/blender/blender/pulls/135849
2025-03-13 10:17:05 +01:00
Campbell Barton 1f892ff92d Fix #83819: Toolbar tooltip missing with custom-keymap
When accessing the key-map for tooltips it's important to use
the final "user" keymap, combine from "active" & "default".

Using the active keyconfig would only keys from key-maps that had
been modified.
2025-03-12 16:15:21 +01:00
Alaska 5fc636c67a Fix #135294: Improve missing VR support error message on macOS
This commit improves the error message explaining why VR isn't
supported on the macOS platform.

Pull Request: https://projects.blender.org/blender/blender/pulls/135302
2025-03-12 16:14:29 +01:00
Sybren A. Stüvel 9c1845dbf2 Fix #135775: Bake to an empty Action using bake_action_objects throws error
Fix a few small mistakes in the action baking code:

- Assigning an action slot should only happen after the action itself has
  been assigned.
- `_ensure_channelbag_exists()` didn't actually ensure the channelbag
  always exists; now it also creates the layer & strip if necessary.

Pull Request: https://projects.blender.org/blender/blender/pulls/135853
2025-03-12 11:46:34 +01:00
Pratik Borhade 46086bc1c1 Fix #135436: Attribute "name collisions" show on every UIList
draw_attribute_warnings() called in every attribute panel code.
Following function iterates through entire attribute list
mesh.attributes along with vgroup list to identify the colliding name.
This results in printing collision names in irrelavant panels. Now fixed
by passing relevant attributes to compare in `draw_attribute_warnings`.
First find colliding names, add them to the list if they exists in current attribute list
passed to the function

Pull Request: https://projects.blender.org/blender/blender/pulls/135495
2025-03-11 10:28:34 +01:00
Campbell Barton 3d49186a4a Fix #132843: Wheel's with "Root-is-Purelib: false" fail to install
Some wheels don't use "Purelib", meaning the directory layout of the
wheel needs to be manipulated on installation.

Add partial support for Python's "Binary distribution format" when
Purelib is false, since paths such as `includes` & `scripts` are not
remapped into user accessible locations - they will remain in the
wheels "*.data" directory, these could be supported if it's needed
although it seems like a fairly niche use case.

Ref !135709
2025-03-10 20:38:02 +11:00
Julien Duroure 1326eaff09 Fix #135549 - glTF: Fix exporting only def bones + add leaf bones 2025-03-09 05:35:19 +01:00
Nathan Vegdahl b634fd04ed Fix #133010: Rigify operators for copying rig-type parameters fail
The underlying issue was that the code was trying to directly assign a Python
dictionary to an add-on defined Group Property accessed via `[]` syntax, like
this:

```
to_bone['rigify_parameters'] = param_dict
```

That only works if 'rigify_parameters' does *not* already exist according to the
`[]` lookup, so this was failing whenever it already did.

This PR fixes that by simply deleting the property first when it already exists.

Co-authored-by: Ayoub ibn Muhammad <cl3m3c7@riseup.net>
Co-authored-by: Sybren A. Stüvel <sybren@blender.org>
Pull Request: https://projects.blender.org/blender/blender/pulls/135233
2025-03-07 12:53:56 +01:00
Christoph Lendenfeld a485bf6556 Fix #134034: Baking a custom property with a name existing in Blender failed
When baking custom properties that were named exactly the same
as a property already in Blender (in this case `scale`), it would fail.
The issue was introduced with eee32726c7 where the goal was
to not key addon defined properties.
The problem with that approach was that `obj.bpy_rna.properties`
not only contains addon defined properties but also all that are native to Blender.
So the rna path would be created to be identical as for e.g. transform properties.

The fix is to test the property for `is_runtime` which is true for addon
defined properties but false for blender internal properties

I tested with the test file of #121349 to confirm that doing so
doesn't bring that original bug back.

Pull Request: https://projects.blender.org/blender/blender/pulls/135297
2025-03-06 15:51:44 +01:00
Campbell Barton 1635595f94 Fix exceptions in node operator poll functions 2025-03-06 15:24:52 +11:00
Campbell Barton 378cc32efa Fix #83819: Toolbar tooltip missing with custom-keymap
When accessing the key-map for tooltips it's important to use
the final "user" keymap, combine from "active" & "default".

Using the active keyconfig would only keys from key-maps that had
been modified.
2025-03-05 15:34:45 +11:00
Alaska c30c19ad64 Fix #135391: Python type error reporting that addon is for newer version of Blender
This commits fixes a type error issue when reporting that a addon was
designed for a version of Blender newer than the current one.

Thanks to @Rakete for the fix.

Ref: !135392
2025-03-04 12:02:09 +11:00
Julien Duroure 5ddff2562b Fix: glTF Exporter: Another sanity check about slot 2025-03-02 08:02:56 +01:00
Julien Duroure bb2f74e8ce Fix: glTF Exporter: Avoid crash when action has no slot assigned 2025-03-02 07:59:42 +01:00
Alaska b3b80deac1 Fix #135294: Improve missing VR support error message on macOS
This commit improves the error message explaining why VR isn't
supported on the macOS platform.

Pull Request: https://projects.blender.org/blender/blender/pulls/135302
2025-03-01 02:00:57 +01:00
Damien Picard cd7334473a I18n: Translate quick effect data
Quick effects create various physics setups by adding objects,
materials, modifiers, and data layers. This data can now be
translated.
2025-02-28 15:46:33 +01:00
Damien Picard 5fc2d5b308 I18n: Fix Node Wrangler merge menus
Commit 8ff8fc4859 changed the context for the modes in Merge Nodes
and Change Nodes operators to Nodetree. The enum items were thus
extracted using this context, but the UI Menus were not updated to
reflect this change and a few items were no longer translated.

This commit fixes the issue by using the same translation context for
the menus' drawing.
2025-02-28 15:46:33 +01:00
Pratik Borhade 277df9ce1f Fix #134711: Frame selected shortcut not showing in menu
`IDProperty` of keyitem and operator in UI were not matching in
`wm_keymap_item_find_in_keymap()`. Now fixed by removing explicit
property value from UI menu

Pull Request: https://projects.blender.org/blender/blender/pulls/134724
2025-02-28 10:22:27 +01:00