Skip to content

Commit

Permalink
Debug simple line fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
bordoray committed Jul 29, 2024
1 parent b83cdfe commit 2bce9c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion translator/vector/symbol/penstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def _get_penstyle_from_line(symbol_layer: QgsLineSymbolLayer) -> dict:
* convert_to_point(symbol_layer.width(), symbol_layer.widthUnit())
for dash_value in dash_pattern_mul
]
penstyle["dash_pattern"] = dash_pattern

elif penstyle["stroke"] == "solid" and symbol_layer.useCustomDashPattern():
# customized patterns occurs NOT with dash strole but solid stroke
Expand All @@ -146,6 +147,6 @@ def _get_penstyle_from_line(symbol_layer: QgsLineSymbolLayer) -> dict:
for dash_value in symbol_layer.customDashVector()
]

penstyle["dash_pattern"] = dash_pattern
penstyle["dash_pattern"] = dash_pattern

return penstyle

0 comments on commit 2bce9c6

Please sign in to comment.