Blender Git Commit Log

Git Commits -> Revision ecd0565

Revision ecd0565 by Lukas Toenne (master)
February 17, 2014, 14:44 (GMT)
Fix T38651: Compositor Normal Node Sphere unchangable when Reset All To
Default Values is used on it.

The default for the socket value was always 0. Now the default value for
node socket default_value properties is chosen based on the socket
subtype to give some more sensible values.

NOTE: this may still be different from the values specified in the
socket templates! It is not possible to directly use these template
values, because all sockets share the same RNA types. At least it should
work reasonably well in the majority of cases now.

Commit Details:

Full Hash: ecd0565f28cb6cb5bc09455e05db6692a6fcf826
Parent Commit: a5cfd3f
Lines Changed: +46, -0

1 Modified Path:

/source/blender/makesrna/intern/rna_nodetree.c (+46, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021