Changeset 165:dba8bc454a43


Ignore:
Timestamp:
Sep 3, 2013, 9:19:03 AM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

Fix 'fill exterior' button

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r157 r165  
    212212
    213213    def set_filled(self):
    214         if level.all_closed():
     214        closed, _ = self.level.all_closed()
     215        if closed:
    215216            self.cur_poly = None
    216217            self.filled_mode = True
    217218        else:
    218             print 'Not all polygons closed, so not filling'
     219            alert('Not all polygons closed, so not filling')
    219220
    220221    def mouse_move(self, ev):
Note: See TracChangeset for help on using the changeset viewer.