Blender Git Loki
Git Commits -> Revision 3ae641e
Revision 3ae641e by Lukas Toenne (master) February 25, 2014, 09:15 (GMT) |
Fix T38773: Inconsistent conversion of colors and float values in Blender Internal shader nodes. All nodes now use the `nodestack_get_vec` function to convert whatever input values are connected to the desired type, instead of using the stack values directly regardless of what they contain. Note that this might break old node setups that have been adapted to the faulty behavior, but as discussed in the bug report the 2.70 version is the right time to fix this. |
Commit Details:
Full Hash: 3ae641eb020ea61a595840eee8cbcc9f7ee36043
Parent Commit: bf547a1
Lines Changed: +119, -88
7 Modified Paths:
/source/blender/nodes/shader/nodes/node_shader_curves.c (+4, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_hueSatVal.c (+18, -11) (Diff)
/source/blender/nodes/shader/nodes/node_shader_invert.c (+11, -13) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+58, -51) (Diff)
/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.c (+11, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.c (+14, -6) (Diff)
/source/blender/nodes/shader/nodes/node_shader_valToRgb.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_hueSatVal.c (+18, -11) (Diff)
/source/blender/nodes/shader/nodes/node_shader_invert.c (+11, -13) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+58, -51) (Diff)
/source/blender/nodes/shader/nodes/node_shader_sepcombHSV.c (+11, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_sepcombRGB.c (+14, -6) (Diff)
/source/blender/nodes/shader/nodes/node_shader_valToRgb.c (+3, -1) (Diff)