From c41988532983745f1f69377726f9f8d409aa3ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Granskogen=20Bj=C3=B8rnstad?= Date: Wed, 8 Nov 2017 16:37:57 +0100 Subject: [PATCH] SvgSerializer: Fix error message logic If we have no storeys *and* we didn't find any suitable fall-back, then the error message makes sense. --- src/ifcconvert/SvgSerializer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ifcconvert/SvgSerializer.cpp b/src/ifcconvert/SvgSerializer.cpp index a517ac42c1..7de86250c7 100644 --- a/src/ifcconvert/SvgSerializer.cpp +++ b/src/ifcconvert/SvgSerializer.cpp @@ -390,7 +390,7 @@ void SvgSerializer::setFile(IfcParse::IfcFile* f) { } } } - } - Logger::Error("No building storeys encountered, output might be invalid or missing"); -} \ No newline at end of file + Logger::Error("No building storeys encountered, output might be invalid or missing"); + } +}