Ignore:
Timestamp:
May 30, 2006, 11:27:54 AM (18 years ago)
Author:
duncan
Message:

fixing the black screen of death bug at the mesh generation end.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pmesh/mesh.py

    r2778 r3013  
    13081308        triangle attribute list: [(T1att), (T2att), ...]
    13091309            (list of a list of strings)
     1310        lone point list:[point1, ...] (list of integers)
    13101311        """
    13111312        #Clear the current generated mesh values
     
    13751376                                                   ObjectNeighbor[2])
    13761377            index += 1
    1377 
     1378        genDict['lonepointlist'].sort()
     1379        genDict['lonepointlist'].reverse()       
     1380        for loner in genDict['lonepointlist']:
     1381            # Remove the loner vertex
     1382            #print "Removing the loner", loner
     1383            self.meshVertices.pop(loner)
    13781384
    13791385    def setMesh(self, genDict):
     
    19251931        load_mesh.loadASCII.export_mesh_file(ofile,dict)
    19261932
     1933    # FIXME(DSG-DSG):Break this into two functions.
     1934    #One for the outline points.
     1935    #One for the mesh points.
     1936    # Note: this function is not in the gui
    19271937    def exportPointsFile(self,ofile):
    19281938        """
Note: See TracChangeset for help on using the changeset viewer.