Skip to content

Commit

Permalink
Fix a parsing bug in rendersymbol
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Nov 20, 2023
1 parent 3edcb21 commit fa49754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osgEarth/RenderSymbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ RenderSymbol::parseSLD(const Config& c, Style& style)
}
else if (match(c.key(), "render-max-tess-angle")) {
float value; Units units;
if (Units::parse(c.value(), value, units, Units::METERS))
if (Units::parse(c.value(), value, units, Units::DEGREES))
style.getOrCreate<RenderSymbol>()->maxTessAngle() = Angle(value, units);
}
else if (match(c.key(), "render-max-altitude")) {
Expand Down

0 comments on commit fa49754

Please sign in to comment.