Changeset 31686


Ignore:
Timestamp:
Jun 12, 2008, 1:20:14 AM (16 years ago)
Author:
martinl
Message:

v.to.points: G_percent() moved to the end of the loop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • grass/branches/develbranch_6/vector/v.to.points/main.c

    r31679 r31686  
    295295            G_debug ( 3, "line = %d", line );
    296296
    297             G_percent(line, nlines, 2);
    298 
    299297            ltype = Vect_read_line (&In, LPoints, LCats, line);
    300298            if ( !(ltype & type ) ) continue;
     
    308306                             dmax, table_flag->answer );
    309307            }
     308            G_percent(line, nlines, 2);
    310309        }
    311310    }
     
    318317            int i, isle, nisles;
    319318
    320             G_percent(area, nareas, 2);
    321            
    322319            centroid = Vect_get_area_centroid ( &In, area );
    323320            cat = -1;
     
    341338                             dmax, table_flag->answer );
    342339            }
     340            G_percent(area, nareas, 2);
    343341        }
    344342    }   
Note: See TracChangeset for help on using the changeset viewer.