15ec49ff2854eff21e52883a64512b1dbfe04050
This PR changes the temporary viewers created in node groups by Connect to Output in two ways: - Rename it, as it is currently called "tmp_viewer", which stands out as strange and code-like. It is renamed to "(Viewer)", which can be translated. - Use the actual connected socket type. Currently the viewer uses hardcoded socket types (Geometry for Geometry Nodes, Shader for shader nodes). While in GN we can only connect geometry to the output, in shader nodes other types can be inspected. This change allows the tmp_viewer to use the type of the actual socket being inspected, to have a better idea of what it contains from outside the group. It can be especially useful if a group is used in multiple materials and different sockets are being previewed in each one. It also does some cleanup, details in the commits. Pull Request: https://projects.blender.org/blender/blender/pulls/122520
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
