From c6d7e7c1124b732552bf474d25658b337cc03ed4 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 15 Jun 2022 12:44:17 +0200 Subject: [PATCH] Fix set_input_properties and set_output_properties in MMNode. --- modules/material_maker/nodes/mm_node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/material_maker/nodes/mm_node.cpp b/modules/material_maker/nodes/mm_node.cpp index bb0d21010..5c3631a35 100644 --- a/modules/material_maker/nodes/mm_node.cpp +++ b/modules/material_maker/nodes/mm_node.cpp @@ -26,7 +26,7 @@ Vector MMNode::get_input_properties() { void MMNode::set_input_properties(const Vector &val) { input_properties.clear(); for (int i = 0; i < val.size(); i++) { - Ref e = Ref(val[i]); + Ref e = Ref(val[i]); input_properties.push_back(e); } } @@ -42,7 +42,7 @@ Vector MMNode::get_output_properties() { void MMNode::set_output_properties(const Vector &val) { output_properties.clear(); for (int i = 0; i < val.size(); i++) { - Ref e = Ref(val[i]); + Ref e = Ref(val[i]); output_properties.push_back(e); } }