Changeset 2642 in Sophya for trunk/SophyaPI/PIext/pintuple.cc


Ignore:
Timestamp:
Dec 14, 2004, 1:41:34 AM (21 years ago)
Author:
ansari
Message:

Correction petit bug avec connectpoints ds PINTuple - Reza 14/12/2004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pintuple.cc

    r2615 r2642  
    226226  // Trace d'une ligne reliant les points
    227227  if( connectPts ) {
    228     if(npolyg==0) {xpolyg[0]=xl; ypolyg[0]=yl; npolyg=1;}
     228    if((npolyg==0) && (i>0)) {xpolyg[0]=xl; ypolyg[0]=yl; npolyg=1;}
    229229    if(npolyg<NMXMULTP_LOCAL)
    230230      {xpolyg[npolyg]=xp; ypolyg[npolyg]=yp; npolyg++;}
Note: See TracChangeset for help on using the changeset viewer.