Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't skip SetGradientStops #2329
Conversation
|
Note: WR frame building is already happy skipping this:
|
|
Not sure why but with this PR servo crashes for me because of
|
|
This isn't correct; we clear gradient stops at the start of |
|
@gankro what would be your recommendation then? having that |
|
I'm not familiar with the debug-serializing feature, but one option would be to split |
|
@gankro how about we don't hack thing as low as traversing items and instead put the gradient stop logic in the context flattening? That would make all the low-level things like debug serialization robust. Please take a look at the code in this PR now. |
|
Presumably the same logic would need to be used in the DL->yaml/json writers? (I don't think we have tests for that) |
|
@gankro good point! I fixed the YAML writer to take those into account and tested it by saving/loading a thing. Appears to work fine. (1) actually, the capture infrastructure does need RON to be loaded, and with gradient stops we can just have better capturing of gradients on the scene level. |
|
Marking as blocked, decided to re-think gradient stops more fundamentally with @gankro . |
|
|
|
Are there now concrete plans for improved gradient stops? If not what are the open questions? |
|
@gankro Should this be kept open? |
|
Let's close this PR in favour of an issue (sorry for letting this slip!) |
kvark commentedJan 22, 2018
•
edited by larsbergstrom
Fixes #2328
r? @gankro
This change is