Fix #108376: Copy from geometry to other node tree types resets shapes #108412

Merged
Lukas Tönne merged 4 commits from LukasTonne/blender:reset_socket_shapes_on_copy into blender-v3.6-release 2023-06-12 14:21:56 +02:00

4 Commits

Author SHA1 Message Date
Lukas Tönne d15610f76c Reset socket shapes only when copying from clipboard. 2023-06-12 14:01:15 +02:00
Lukas Tönne c022afdc20 More restricted socket shape reset in the copy operator. 2023-06-12 12:24:12 +02:00
Lukas Tönne d39bc7aaa2 Merge branch 'blender-v3.6-release' into reset_socket_shapes_on_copy 2023-06-12 12:00:53 +02:00
Lukas Tönne 3272410db0 Fix #108376: Copy from geometry to other node tree types resets shapes.
Socket shapes are used in geometry nodes to indicate field types.
In other tree types (e.g. shaders) the socket shape is not touched at
all. Since nodes can be copied from geometry node trees, we need to
reset the socket shape when copying to a shader, compositor, or texture
tree.
2023-05-30 11:46:11 +02:00