fix typo introduced with pr702

This commit is contained in:
wmayer
2017-07-28 20:58:20 +02:00
parent 1e5de4ece0
commit 7cdaa80b6d

View File

@@ -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 << "</g>" << endl;