From ee5a8a8f62da0396da3908c4efd81cdb8c12c56e Mon Sep 17 00:00:00 2001 From: Jan Orend <56254096+3dJan@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:02:33 +0200 Subject: [PATCH] Fix typos in Importer3mf and Assembly error messages --- gladius/src/io/3mf/Importer3mf.cpp | 2 +- gladius/src/nodes/Assembly.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gladius/src/io/3mf/Importer3mf.cpp b/gladius/src/io/3mf/Importer3mf.cpp index 1a16c73..950021a 100644 --- a/gladius/src/io/3mf/Importer3mf.cpp +++ b/gladius/src/io/3mf/Importer3mf.cpp @@ -1264,7 +1264,7 @@ namespace gladius::io model3mf->MergeFromModel(modelToMerge.get()); loadImageStacks(filename, model3mf, doc); - loadImplicitFunctions(model3mf, doc); + loadImplicitFunctions(model3mf, doc); } catch (Lib3MF::ELib3MFException const & e) { diff --git a/gladius/src/nodes/Assembly.cpp b/gladius/src/nodes/Assembly.cpp index e3559f4..ccc1ba2 100644 --- a/gladius/src/nodes/Assembly.cpp +++ b/gladius/src/nodes/Assembly.cpp @@ -186,7 +186,7 @@ namespace gladius::nodes if (!referencedModel) { throw std::runtime_error( - fmt::format("{} references a function with the fucntion id {}, that could not be found found", functionCall.getDisplayName(), referencedId)); + fmt::format("{} references a function with the fucntion id {}, that could not be found", functionCall.getDisplayName(), referencedId)); } functionCall.updateInputsAndOutputs(*referencedModel);