diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-03-29 17:49:01 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2019-04-02 17:56:16 +0300 |
commit | ebe6f7dea33c59b91464f7c6c905600184324f3c (patch) | |
tree | 2ca2b78bbf5b82b3dc51cf8ca0abdff183b55571 /src/mbgl/style/layers/line_layer.cpp | |
parent | 45e8154d334aa967ac22910cad1f3d96f4c8e72b (diff) | |
download | qtlocation-mapboxgl-ebe6f7dea33c59b91464f7c6c905600184324f3c.tar.gz |
[core] Remove RenderLinePaintProperties
This patch removes the `RenderLinePaintProperties` by
making `LineFloorWidth` part of the `style::LinePaintProperties`.
It normalizes paint properties evaluation for the line layer.
Diffstat (limited to 'src/mbgl/style/layers/line_layer.cpp')
-rw-r--r-- | src/mbgl/style/layers/line_layer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/line_layer.cpp b/src/mbgl/style/layers/line_layer.cpp index 643c294edf..0a20762697 100644 --- a/src/mbgl/style/layers/line_layer.cpp +++ b/src/mbgl/style/layers/line_layer.cpp @@ -248,6 +248,7 @@ void LineLayer::setLineWidth(PropertyValue<float> value) { return; auto impl_ = mutableImpl(); impl_->paint.template get<LineWidth>().value = value; + impl_->paint.template get<LineFloorWidth>().value = value; baseImpl = std::move(impl_); observer->onLayerChanged(*this); } |