Campbell Barton
6fcd84721c
Cleanup: quiet some warnings from check_pep8 target
2025-02-04 14:51:17 +11:00
Devashish Lal
3e28b6c7f1
Nodes: File path socket subtype for string sockets
...
This commit adds a new socket subtype for the string socket type
for file paths. Like other subtypes, this doesn't influence the data
stored in the socket or passed between nodes, it adds a file browser
popup operator to the socket button in the node.
From the file import nodes GSoC project:
https://devtalk.blender.org/t/gsoc-2024-geometry-nodes-file-import-nodes/34482
Pull Request: https://projects.blender.org/blender/blender/pulls/123250
2024-06-24 16:28:33 +02:00
Lukas Tönne
83d3ba8a58
Fix #116477 : Node group sockets with subtypes have broken idnames
...
Loading pre-4.0.20 node groups with sockets using subtypes causes
broken socket identifiers. This is because the node tree interface now
expects sockets to use the base identifiers ("NodeSocketFloat" instead
of "NodeSocketFloatFactor" etc.).
To correct this the conversion code now replaces socket idnames that
include a subtype suffix with their base names. This fix is also applied
to files between versions 4.0.20 and 4.1.10, where the socket types
may have been converted incorrectly.
Pull Request: https://projects.blender.org/blender/blender/pulls/117133
2024-01-16 15:32:33 +01:00
Campbell Barton
6297bbe931
License headers: attribute copyright to "Blender Authors"
...
See #110784 , it seems that merging functionality reintroduced the old
convention.
2023-11-07 15:42:52 +11:00
Campbell Barton
9d20632925
Cleanup: ensure trailing newline, delete trailing space
2023-10-05 13:57:14 +11:00
Lukas Tönne
742f3b233f
Nodes: Rename ui_items property to items_tree
...
DNA names are unchanged, just affects the RNA API.
Resolves #112523
Pull Request: https://projects.blender.org/blender/blender/pulls/112527
2023-09-18 18:07:26 +02:00
Campbell Barton
48950ff934
Cleanup: format
2023-09-06 19:15:47 +10:00
Lukas Tönne
851a32adb5
Nodes: New test for node group versioning
...
This simply loads a blend file and tests that the node group interface
as well as a node group instance have all the expected sockets and
default values.
Pull Request: https://projects.blender.org/blender/blender/pulls/111800
2023-09-05 14:27:20 +02:00