~msoegtrop/inkscape/embroidery

« back to all changes in this revision

Viewing changes to src/ui/interface.cpp

  • Committer: Michael Soegtrop
  • Date: 2017-06-05 13:13:40 UTC
  • mfrom: (14862.1.45 inkscape)
  • Revision ID: msoegtrop@yahoo.de-20170605131340-5zjk9ihhdm1hadzs
updated to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1128
1128
                        unsigned int b = color.getB();
1129
1129
 
1130
1130
                        SPGradient* matches = 0;
1131
 
                        std::set<SPObject *> gradients = doc->getResourceList("gradient");
1132
 
                        for (std::set<SPObject *>::const_iterator item = gradients.begin(); item != gradients.end(); ++item) {
 
1131
                        std::vector<SPObject *> gradients = doc->getResourceList("gradient");
 
1132
                        for (std::vector<SPObject *>::const_iterator item = gradients.begin(); item != gradients.end(); ++item) {
1133
1133
                            SPGradient* grad = SP_GRADIENT(*item);
1134
1134
                            if ( color.descr == grad->getId() ) {
1135
1135
                                if ( grad->hasStops() ) {