Jacques Lucke
c55ffb5258
Nodes: improve implicit inputs
...
This improves implicit node inputs in multiple ways:
* Fix crash when switching a group input socket type from e.g. vector to
integer, while the default input is set to "position". Now, the default input
type is reset automatically if it's invalid.
* Add Left/Right Handle as possible implicit vector inputs (next to Position and
Normal). Those were the only ones that we used internally that were not
exposed yet.
* When creating a new group input from an existing socket, also initialize the
default input based on the socket. E.g. when grouping a `Set Position` node,
the `Position` input of the group will now also use the position attribute by
default.
In addition to these user-level changes, some internal changes were done too:
* Use unified `NodeDefaultInputType` in node declaration instead of function
pointers which were hard to propagate to node groups.
* Use a new reusable `socket_type_supports_default_input_type` function in rna
to filter the list of possible input items.
Pull Request: https://projects.blender.org/blender/blender/pulls/139139
2025-05-20 17:54:49 +02:00
..
2025-05-20 10:11:56 +00:00
2024-12-03 16:15:25 +01:00
2025-05-05 18:41:03 +02:00
2025-05-20 13:26:43 +02:00
2025-05-20 13:26:43 +02:00
2025-05-17 08:36:33 +02:00
2025-05-17 08:36:33 +02:00
2025-03-05 16:35:09 +01:00
2024-03-18 15:04:12 +01:00
2025-03-20 18:44:24 +01:00
2025-05-09 17:27:07 +02:00
2024-01-03 13:38:14 +01:00
2025-02-19 22:00:39 +01:00
2025-05-06 03:36:39 +02:00
2025-05-19 19:40:48 +02:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2024-07-29 15:03:57 +02:00
2025-05-05 18:41:03 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2025-01-21 13:55:15 +01:00
2025-05-20 13:26:43 +02:00
2025-05-15 14:30:01 +02:00
2024-03-18 15:04:12 +01:00
2025-05-20 13:26:43 +02:00
2025-05-20 13:26:43 +02:00
2023-09-04 15:59:40 +02:00
2025-01-15 15:54:43 +01:00
2025-05-09 17:27:07 +02:00
2025-04-02 21:28:19 +02:00
2025-01-31 17:03:16 +01:00
2024-01-03 13:38:14 +01:00
2023-09-04 15:59:40 +02:00
2023-09-04 15:59:40 +02:00
2025-01-07 12:39:13 +01:00
2025-05-20 17:40:03 +02:00
2024-08-30 17:48:52 +02:00
2023-09-04 15:59:40 +02:00
2025-02-13 18:55:37 +01:00
2025-05-05 18:41:03 +02:00
2024-03-18 15:04:12 +01:00
2025-05-20 13:26:43 +02:00
2023-09-04 15:59:40 +02:00
2024-04-03 15:34:40 +02:00
2025-05-09 17:27:07 +02:00
2025-05-06 00:18:39 +00:00
2025-05-05 18:41:03 +02:00
2025-02-07 21:23:48 +01:00
2025-05-07 18:01:34 +02:00
2025-05-05 18:41:03 +02:00
2025-05-16 10:14:29 +02:00
2024-03-18 15:04:12 +01:00
2025-05-16 10:14:29 +02:00
2025-04-28 12:59:54 +02:00
2024-11-05 23:00:29 +11:00
2025-05-05 18:41:03 +02:00
2024-05-31 22:55:05 +02:00
2025-05-05 18:41:03 +02:00
2024-03-18 15:04:12 +01:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2024-07-31 16:06:43 +02:00
2025-05-05 18:41:03 +02:00
2024-08-27 13:25:14 +02:00
2025-05-05 18:41:03 +02:00
2024-03-18 15:04:12 +01:00
2025-05-09 17:27:07 +02:00
2024-07-04 12:29:59 +10:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2025-04-30 11:04:31 +02:00
2025-05-20 13:26:43 +02:00
2025-05-20 13:26:43 +02:00
2024-05-06 17:56:56 +02:00
2025-05-20 13:26:43 +02:00
2023-09-04 15:59:40 +02:00
2025-05-20 17:54:49 +02:00
2025-05-20 13:26:43 +02:00
2025-04-25 19:12:04 +02:00
2024-10-04 19:20:00 +02:00
2025-03-21 00:51:51 +00:00
2024-03-27 18:06:31 +01:00
2025-05-20 13:26:43 +02:00
2025-05-08 16:09:31 +02:00
2024-06-20 14:09:29 +02:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2023-09-04 15:59:40 +02:00
2024-03-18 15:04:12 +01:00
2025-05-09 17:27:07 +02:00
2025-05-12 11:16:26 +02:00
2025-02-21 18:48:54 +01:00
2025-04-05 08:49:22 +00:00
2025-01-07 12:39:13 +01:00
2025-05-16 23:25:45 +02:00
2025-05-06 17:13:30 +02:00
2025-05-12 11:16:26 +02:00
2025-05-07 04:51:50 +02:00
2025-05-15 05:01:39 +02:00
2024-01-22 13:47:13 +01:00
2023-09-04 15:59:40 +02:00
2025-05-05 18:41:03 +02:00
2024-03-18 15:04:12 +01:00
2025-05-20 13:26:43 +02:00
2025-05-20 13:26:43 +02:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2025-05-05 18:41:03 +02:00
2024-03-18 15:04:12 +01:00
2025-05-20 13:26:43 +02:00
2025-05-20 13:26:43 +02:00
2025-03-21 11:51:50 +11:00
2024-05-14 20:59:03 +10:00
2023-09-04 15:59:40 +02:00
2025-05-20 13:26:43 +02:00
2023-09-04 15:59:40 +02:00
2024-06-19 12:16:24 +02:00
2025-05-05 18:41:03 +02:00
2025-04-29 17:03:50 +02:00
2025-04-26 00:13:46 +02:00
2024-07-09 06:10:17 +02:00
2025-05-11 17:00:47 +10:00
2025-05-14 15:18:36 +02:00
2024-03-18 15:04:12 +01:00
2025-05-05 18:41:03 +02:00
2025-03-21 00:13:30 +00:00
2025-05-16 14:21:06 +02:00
2025-05-05 18:41:03 +02:00
2024-05-24 18:41:18 +02:00
2025-05-05 18:41:03 +02:00
2023-12-15 22:57:34 +11:00