Commit: 81ee46da1a6c508e7c5ccef07067e672f716ccda Author: Aaron Carlisle Date: Mon Jan 31 12:56:40 2022 -0500 Branches: master https://developer.blender.org/rB81ee46da1a6c508e7c5ccef07067e672f716ccda
Fix: Unutilized curve mapping in vector shader node This could result in a shading errors is some cases such as undo. Follow up to rB1405787142d1f87f18631114167675ed145f6d75 =================================================================== M source/blender/nodes/shader/nodes/node_shader_curves.cc =================================================================== diff --git a/source/blender/nodes/shader/nodes/node_shader_curves.cc b/source/blender/nodes/shader/nodes/node_shader_curves.cc index 9ca9192e821..6570ffcac83 100644 --- a/source/blender/nodes/shader/nodes/node_shader_curves.cc +++ b/source/blender/nodes/shader/nodes/node_shader_curves.cc @@ -49,6 +49,7 @@ static int gpu_shader_curve_vec(GPUMaterial *mat, CurveMapping *cumap = (CurveMapping *)node->storage; + BKE_curvemapping_init(cumap); BKE_curvemapping_table_RGBA(cumap, &array, &size); GPUNodeLink *tex = GPU_color_band(mat, size, array, &layer); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
