fix typo introduced with pr702
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user