english Sivu saatavilla vain englanninkielisenä.

Blender Git Statistics -> Branches -> temp-D10912-change-group-socket-types

"Temp-d10912-change-group-socket-types" branch

Total commits : 20
Total committers : 1
First Commit : July 3, 2021
Latest Commit : July 6, 2021


Commits by Date

DateNumber of Commits
July 6, 20217
July 5, 20213
July 4, 20215
July 3, 20215

Committers

AuthorNumber of Commits
Lukas Toenne20

Popular Files

FilenameTotal Edits
rna_nodetree.c9
node.cc9
BKE_node.h7
node_edit.cc6
node_buttons.c5
node_composite_tree.c3
node_texture_tree.c2
node_geometry_tree.cc2
node_common.c2
node_socket.cc2

Latest commits Feed

July 6, 2021, 16:31 (GMT)
Formatting fixes.
July 6, 2021, 16:02 (GMT)
Changing sock->type is done by node_socket_set_typeinfo.
July 6, 2021, 07:38 (GMT)
Merge branch 'master' into temp-D10912-change-group-socket-types
July 6, 2021, 05:45 (GMT)
Nicer labels for integer and color sockets.
July 6, 2021, 05:33 (GMT)
Remove the ICON_PLUGIN from node socket RNA.
July 6, 2021, 05:19 (GMT)
Removed the colored circle next to type button.
July 6, 2021, 05:07 (GMT)
Put back socket type enums that were removed.
July 5, 2021, 19:25 (GMT)
Reliable filtering of non-standard socket types.

Socket polling callback for trees needs to be able to distinguish
"standard" and custom sockets. Custom sockets have a type 0 by default
so that cannot be used to check the socket type. Instead use RNA to
check if a type is a standard socket type.
July 5, 2021, 18:58 (GMT)
Remove the valid_socket_type_full method.
The valid_socket_type callback was added very recently, so there is no
harm in changing it at this point. That avoids the complication of
having two variants in the API.

See 47aca2b4c402ec35ea52c18afcc0840bcf283b26
July 5, 2021, 06:02 (GMT)
Merge branch 'master' into D10912-change-group-socket-types
July 4, 2021, 15:34 (GMT)
Added function for consistent socket type label.
July 4, 2021, 13:24 (GMT)
Also register the type label for node sockets.
July 4, 2021, 13:21 (GMT)
Align the socket type UI with the property split.
July 4, 2021, 13:15 (GMT)
Check context pointer to avoid crashes.

Context can be NULL, e.g. when building docs or
when searching the bpy API.
July 4, 2021, 13:15 (GMT)
Optional labels for nicer socket type names in UI.
July 3, 2021, 16:43 (GMT)
Remove accidentally committed test script.
July 3, 2021, 16:29 (GMT)
Changed socket validation to work on full types.

The socket validation function in `bNodeTreeType` now works on the
`bNodeSocketType` rather than just the (legacy) integer base type.
This allows custom node trees (python nodes) to check for their own
socket types, which could not otherwise be distinguished (all custom
socket types map to the SOCK_CUSTOM base type).

The registerable RNA method `valid_socket_type` of node trees remains
unchanged to avoid breaking the API. There is now an alternative
`valid_socket_type_full` method which takes the idname instead of the
old integer enum. If `valid_socket_type_full` is defined then
`valid_socket_type` is ignored.

The socket_change_type operator now uses idnames as well, filtering out
all types that are unsupported by the tree as well as subtype
specializations.
July 3, 2021, 12:10 (GMT)
New function for changing socket type by idname.

The static integer type is only a subset of all socket types available.
To support changing to a custom socket type the nodeModifySocketType
function now takes the idname instead, while nodeModifySocketTypeStatic
implements the old behavior with integer type where it is still needed.
July 3, 2021, 10:50 (GMT)
Type change in the group socket update function.

In group node and group input/output updates:
Instead of discarding group sockts with a type mismatch (which breaks
any link), keep the socket and update its type.
This can require a subsequent node tree link update to check for invalid
socket connections. Links should be flagged as invalid and ignored by
node systems, rather than removed outright.

Note that the nodeModifySocketType function only works with static
socket types currently and does not fully support custom socket types
(e.g. sockets defined in python). Any group interface with a custom type
will generate a generic SOCK_CUSTOM socket. This should be addressed
soon by making nodeModifySocketType work with idnames rather than
integer types.
July 3, 2021, 10:37 (GMT)
Operator for changing the socket type in groups.

MiikaHweb - Blender Git Statistics v1.06
Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021