Ignore:
Timestamp:
Feb 28, 2005, 4:30:52 PM (20 years ago)
Author:
duncan
Message:

for pmesh/loadmesh, changing markers to tags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pmesh/visualmesh.py

    r407 r969  
    211211 
    212212    def editWindow_int(self, canvas, selMeshObject):
    213         ask_int = askinteger("Edit Segment", "Marker",
    214                              minvalue=0, initialvalue= selMeshObject.marker)
     213        ask_int = askinteger("Edit Segment", "Tag",
     214                             minvalue=0, initialvalue= selMeshObject.tag)
    215215        if ask_int >= 0:
    216             selMeshObject.marker = ask_int
     216            selMeshObject.tag = ask_int
    217217           
    218218    def editWindow(self, canvas, selMeshObject, userMeshChanged):
    219         ask_string = askstring("Edit Segment Tag", "Marker",
    220                               initialvalue= str(selMeshObject.marker))
     219        ask_string = askstring("Edit Segment Tag", "Tag",
     220                              initialvalue= str(selMeshObject.tag))
    221221        if ask_string != None:
    222             selMeshObject.marker = ask_string
     222            selMeshObject.tag = ask_string
    223223            userMeshChanged = True
    224224        return userMeshChanged
    225225   
    226226    def defaultWindow(self, canvas):
    227         ask_string = askstring("Edit Default Segment Tag", "Marker",
     227        ask_string = askstring("Edit Default Segment Tag", "Tag",
    228228                     initialvalue= str(self.association.get_default_tag()))
    229229        if ask_string != None:
Note: See TracChangeset for help on using the changeset viewer.