Ticket #1488: TrackSegmentConnection.patch

File TrackSegmentConnection.patch, 530 bytes (added by schluessler, 10 years ago)

Patch for changing the mean of "disabling"

  • Map/ImportGPX.cpp

     
    106106                {
    107107                        double kilometer = Pt->position().distanceFrom( lastPoint->position() );
    108108
    109                         if (M_PREFS->getMaxDistNodes() == 0.0 || kilometer > M_PREFS->getMaxDistNodes())
     109                        if (M_PREFS->getMaxDistNodes() != 0.0 && kilometer > M_PREFS->getMaxDistNodes())
    110110                        {
    111111                                if (S->size())
    112112                                        theList->add(new AddFeatureCommand(theLayer,S, true));