Fix Subtract Node from adding instead of subtracting (#1614)

This commit is contained in:
Ezbaze
2024-02-17 03:06:21 +00:00
committed by GitHub
parent 15931d06b1
commit a50b6b0a09
@@ -1930,7 +1930,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
DocumentNodeDefinition { DocumentNodeDefinition {
name: "Subtract", name: "Subtract",
category: "Math", category: "Math",
implementation: NodeImplementation::proto("graphene_core::ops::AddNode<_>"), implementation: NodeImplementation::proto("graphene_core::ops::SubtractNode<_>"),
inputs: vec![ inputs: vec![
DocumentInputType::value("Primary", TaggedValue::F32(0.), true), DocumentInputType::value("Primary", TaggedValue::F32(0.), true),
DocumentInputType::value("Subtrahend", TaggedValue::F32(0.), false), DocumentInputType::value("Subtrahend", TaggedValue::F32(0.), false),