Commit ccf16d93 authored by Nathan Lee's avatar Nathan Lee
Browse files

Fix gradient simplify, previous didn't work.

(cherry-picked from e80cadc6)
parent f9275014
......@@ -383,7 +383,7 @@ sp_gradient_simplify(GradientTool *rc, double tolerance)
std::set<SPStop *> todel;
auto i = these_stops.begin();
auto j = next_stops.end();
auto j = next_stops.begin();
for (; i != these_stops.end() && j != next_stops.end(); ++i, ++j) {
SPStop *stop0 = *i;
SPStop *stop1 = *j;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment