Skip to content
Commit 28a120d6 authored by Bernhard Beschow's avatar Bernhard Beschow
Browse files

return a static const default style instance instead of asking a static instance of StyleBuilder

GeoDataFeature::style() isn't used for rendering any more. Instead, the renderer asks the StyleBuilder to return a style.

Since there are many places in the code relying on style() returning a non-null pointer, we can't simply return a null pointer. Therefore, we return a dummy style object as a temporary solution.
parent 6a738660
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment