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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1930,7 +1930,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
DocumentNodeDefinition {
name: "Subtract",
category: "Math",
implementation: NodeImplementation::proto("graphene_core::ops::AddNode<_>"),
implementation: NodeImplementation::proto("graphene_core::ops::SubtractNode<_>"),
inputs: vec![
DocumentInputType::value("Primary", TaggedValue::F32(0.), true),
DocumentInputType::value("Subtrahend", TaggedValue::F32(0.), false),