Blender Git Loki

Git Commits -> Revision 870ff57

Revision 870ff57 by Lukas Toenne (master)
August 28, 2013, 07:09 (GMT)
Fix #36584, in python inputs/outputs of created node group not accessable by their names.
The lookupstring function for node sockets and node tree interface items was using the identifier strings of bNodeSocket. This would ensure uniqueness, but doesn't work nicely because the identifier is
not the RNA name property and differs for node groups (with regular nodes it only differs if socket names are duplicate).

Now removed the specialized callbacks, so that inputs/outputs collections simply use the name property. In cases where socket names are duplicate (e.g. math node "Value" + "Value") only the first socket
is returned, but in such cases access by index is the preferred method anyway.

Commit Details:

Full Hash: 870ff57557e23a83d0c5e9102c6870eaf15b47b6
SVN Revision: 59589
Parent Commit: 771906b
Lines Changed: +0, -40

1 Modified Path:

/source/blender/makesrna/intern/rna_nodetree.c (+0, -40) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021