-
Notifications
You must be signed in to change notification settings - Fork 229
Updating with 0.3.7 breaks all colors #1558
Comments
Thanks for reporting. This is unexpected as v0.3.7 was intended to fix color problems: https://github.com/mapbox/mapbox-studio-classic/blob/mb-pages/CHANGELOG.md#037. There are two known regressions recently fixed: mapbox/carto#442 and mapbox/carto#443. Can you see if you can isolate what else changed and create an issue at https://github.com/mapbox/carto/issues? /cc @nebulon42 |
Also can you isolate which version of studio changed things? It is possible this is a carto regression but also possible it is due to the node-mapnik upgrade. See https://github.com/mapbox/mapbox-studio-classic/blob/mb-pages/CHANGELOG.md for when things changed. |
Attached are the styles as generated by versions 0.3.4 -- 0.3.7: |
@nyurik thanks. So in v0.3.5 both node-mapnik and carto were upgraded. So I've done a test build with upgrade node-mapnik but downgraded carto. If this one works that will indicate carto regressions. Can you test it:
|
My tests indicate a problem with colour multiplication (e.g. #f8f4f0 [=land] * 0.8). I'm at it, but I can't rule out that there are other (additional) problems. @springmeyer osm-bright.tm2 should also be affected, maybe you can confirm. I couldn't get mapbox-studio-classic to run properly. |
@springmeyer I tested your build, and it works perfectly (not a single line has changed). Also, you can easily test it yourself - it uses our public pbf tiles from maps.wikimedia.org. To test, I open that style in the studio, hit Save, and do a
|
The problem is that 0.8 is another colour in RGB than in HSL (that's how colours are now represented internally). My personal opinion is that something like #f8f4f0 * 0.8 does not really make sense. Since we have to maintain backwards compatibility in all cases a fix is needed, |
Carto problem should be fixed upstream. |
Our repo kartotherian/osm-bright.tm2 gets badly messed up when editing with MBS v0.3.7 - many roads change color to pinkish. The repo was mostly updated with versions v0.3.1 and before, without any issues.
cc: @MaxSem @springmeyer
The text was updated successfully, but these errors were encountered: