Track expression dependencies (#2113)
This commit is contained in:
@@ -42,6 +42,7 @@ inline const HeatmapLayer::Impl& impl_cast(const Immutable<Layer::Impl>& impl) {
|
||||
RenderHeatmapLayer::RenderHeatmapLayer(Immutable<HeatmapLayer::Impl> _impl)
|
||||
: RenderLayer(makeMutable<HeatmapLayerProperties>(std::move(_impl))),
|
||||
unevaluated(impl_cast(baseImpl).paint.untransitioned()) {
|
||||
styleDependencies = unevaluated.getDependencies();
|
||||
colorRamp = std::make_shared<PremultipliedImage>(Size(256, 1));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user