From 0c830ded4006d1c6c292ec737dda343831269ab4 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Wed, 7 Apr 2021 00:04:33 +0100 Subject: [PATCH] Fix wrong input used in sdf subtract node --- generators/graph/voxel_graph_node_db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generators/graph/voxel_graph_node_db.cpp b/generators/graph/voxel_graph_node_db.cpp index a6dc7664..426e7ccf 100644 --- a/generators/graph/voxel_graph_node_db.cpp +++ b/generators/graph/voxel_graph_node_db.cpp @@ -1147,7 +1147,7 @@ VoxelGraphNodeDB::VoxelGraphNodeDB() { bool a_ignored; bool b_ignored; const VoxelGraphRuntime::Buffer &a = ctx.try_get_input(0, a_ignored); - const VoxelGraphRuntime::Buffer &b = ctx.try_get_input(0, b_ignored); + const VoxelGraphRuntime::Buffer &b = ctx.try_get_input(1, b_ignored); VoxelGraphRuntime::Buffer &out = ctx.get_output(0); const Params params = ctx.get_params(); if (a_ignored) {