diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-10-06 06:28:12 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-10-06 06:28:24 +0300 |
commit | bf35dba7fbab568e857b85e9a74ae0f1eb5838f6 (patch) | |
tree | 671a7aa6b1871a73bb612bef04c8d6f10cbca891 /source | |
parent | b534806ecb9847c6929d5ef107a2cb729fb636c9 (diff) |
Nodes: Composite: Fix wrong socket type for color ramp node
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/nodes/composite/nodes/node_composite_valToRgb.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc b/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc index ba98ee12f30..9e4f1329fbd 100644 --- a/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc +++ b/source/blender/nodes/composite/nodes/node_composite_valToRgb.cc @@ -31,7 +31,7 @@ static void cmp_node_valtorgb_declare(NodeDeclarationBuilder &b) { b.add_input<decl::Float>("Fac").default_value(0.5f).min(0.0f).max(1.0f).subtype(PROP_FACTOR); b.add_output<decl::Color>("Image"); - b.add_output<decl::Color>("Alpha"); + b.add_output<decl::Float>("Alpha"); } } // namespace blender::nodes |