Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[core] Fix: fill-extrusion-vertical-gradient was ignored. #14784 #14808

Merged
merged 1 commit into from
May 31, 2019

Conversation

astojilj
Copy link
Contributor

fill-extrusion-vertical-gradient is of "property-type": "data-constant" and it shouldn't be computed through property binders.

Compared to the state in #14784, render test now produces proper result.

Screenshot actual vs expected

Fixes: #14784

fill-extrusion-vertical-gradient "property-type": "data-constant" and it shouldn't be computed through property binders.

Fixes: #14784
@astojilj astojilj requested a review from kkaefer May 31, 2019 04:11
@astojilj astojilj self-assigned this May 31, 2019
@astojilj astojilj requested a review from pozdnyakov May 31, 2019 04:17
@astojilj
Copy link
Contributor Author

A minor tweak to rendering tests' tolerance, exposing the falsely passing test (making the previous state fail and this pass) is in mapbox/mapbox-gl-js#8309.

@astojilj astojilj requested review from alexshalamov and removed request for pozdnyakov May 31, 2019 07:02
Copy link
Contributor

@alexshalamov alexshalamov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe pass floats without const?

@astojilj astojilj merged commit 62f6338 into master May 31, 2019
@astojilj
Copy link
Contributor Author

nit: maybe pass floats without const?

Following the style of the rest of the code.

@astojilj astojilj deleted the astojilj-vertical-gradient branch June 3, 2019 07:06
@kkaefer
Copy link
Member

kkaefer commented Jun 3, 2019

@astojilj thanks for fixing this! Looks like we can now enable some of the ignored render tests in ignores.json?

@chloekraw chloekraw added the needs changelog Indicates PR needs a changelog entry prior to merging. label Jun 12, 2019
@friedbunny friedbunny added Core The cross-platform C++ core, aka mbgl rendering labels Jun 19, 2019
@friedbunny friedbunny added this to the release-p milestone Jun 19, 2019
@friedbunny friedbunny removed needs changelog Indicates PR needs a changelog entry prior to merging. labels Jun 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Core The cross-platform C++ core, aka mbgl rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[core] fill-extrusion-vertical-gradient always rendered as false
5 participants