From 7cdaa80b6ddc21ad333c8fddf92b22f44e227a2a Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 28 Jul 2017 20:58:20 +0200 Subject: [PATCH] fix typo introduced with pr702 --- src/Mod/Drawing/App/FeatureViewPart.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Mod/Drawing/App/FeatureViewPart.cpp b/src/Mod/Drawing/App/FeatureViewPart.cpp index 3427ffd1cb..03317af7ee 100644 --- a/src/Mod/Drawing/App/FeatureViewPart.cpp +++ b/src/Mod/Drawing/App/FeatureViewPart.cpp @@ -120,12 +120,12 @@ App::DocumentObjectExecReturn *FeatureViewPart::execute(void) ProjectionAlgos::ExtractionType type = ProjectionAlgos::Plain; if (hidden) type = (ProjectionAlgos::ExtractionType)(type|ProjectionAlgos::WithHidden); if (smooth) type = (ProjectionAlgos::ExtractionType)(type|ProjectionAlgos::WithSmooth); - ProjectionAlgos::XmlAttributes visible_style = { - {"stroke_width", to_string(this->LineWidth.getValue() / this->Scale.getValue())} - }; - ProjectionAlgos::XmlAttributes hidden_style = { - {"stroke_width", to_string(this->HiddenWidth.getValue() / this->Scale.getValue()) } - }; + ProjectionAlgos::XmlAttributes visible_style = { + {"stroke-width", to_string(this->LineWidth.getValue() / this->Scale.getValue())} + }; + ProjectionAlgos::XmlAttributes hidden_style = { + {"stroke-width", to_string(this->HiddenWidth.getValue() / this->Scale.getValue()) } + }; result << Alg.getSVG(type, this->Tolerance.getValue(), visible_style, visible_style, visible_style, hidden_style, hidden_style, hidden_style); result << "" << endl;