Fix #106261: When geometry output is viewed the cycling operator picks wrong sockets. #106318

Merged
Lukas Tönne merged 1 commits from LukasTonne/blender:fix-data-socket-viewer-cycling into main 2023-03-30 16:57:09 +02:00

1 Commits

Author SHA1 Message Date
Lukas Tönne a4d2c9a1aa Fix 106261: When geometry output is viewed the cycling operator picks wrong sockets.
The cycling method for the viewer connection starts searching from the next socket
after the last current connection. If a geometry socket is is the last connected
output this caused the method to jump to the next socket after the geometry,
potentially skipping over valid data sockets that are not viewed yet.

The solution is to ignore the geometry sockets in the cycling entirely and only
consider data sockets (i.e. non-geometry sockets).
2023-03-30 16:44:08 +02:00