blender/scripts/startup/bl_operators
quackarooni b6f33d9710 Nodes: Preserve zone sockets for Swap Zone operator
When swapping from one zone to another, try to preserve as much of the existing
sockets as possible.

The swapping behavior is as follows:
- For every socket in the old zone, if they're a valid data type for the new
  zone, they get preserved.
- When swapping to a `Closure` zone, the sockets get copied to both the `Closure
  Input` and `Closure Output`
- When swapping from a `Closure` zone, the new zone receives the sockets of
  whichever node was selected. (i.e. inputs if only `Closure Input` was selected,
  outputs if only `Closure Output`, and both if both nodes are selected (with
  deduplication))
- For Each Element zones don't try to preserve any socket, as how their child
  sockets are structured is quite different from the other existing zones.

Pull Request: https://projects.blender.org/blender/blender/pulls/152921
2026-01-16 16:25:06 +01:00
..
bmesh
node_editor
__init__.py
add_mesh_torus.py
anim.py Refactor: remove remaining legacy action code 2026-01-12 11:35:10 +01:00
assets.py
bone_selection_sets.py
clip.py
connect_to_output.py
console.py
constraint.py
copy_global_transform.py
file.py
freestyle.py
geometry_nodes.py Cleanup: spelling (make check_spelling_*) 2025-12-09 22:53:17 +00:00
grease_pencil.py
image.py
image_as_planes.py
mesh.py
node.py Nodes: Preserve zone sockets for Swap Zone operator 2026-01-16 16:25:06 +01:00
object.py Object: Update poll methods for transform conversion methods 2026-01-09 21:41:18 +01:00
object_align.py
object_quick_effects.py
object_randomize_transform.py
presets.py
rigidbody.py
screen_play_rendered_anim.py
sequencer.py Fix #151942: VSE: Sound crossfade fails if metastrip contents selected 2025-12-22 00:23:21 +01:00
spreadsheet.py
userpref.py
uvcalc_follow_active.py
uvcalc_lightmap.py
uvcalc_transform.py
vertexpaint_dirt.py
view3d.py
wm.py Fix #144750: Error converting from bool to int or float array custom property 2026-01-05 11:01:35 +01:00
world.py