Changeset 223:4197350b9897


Ignore:
Timestamp:
Sep 4, 2013, 2:56:24 PM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

Always show objects in objects mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/area_editor.py

    r220 r223  
    516516    def draw(self, surface):
    517517        # Update checkbox state
    518         self.level_widget.set_objects(self.show_objs.value)
    519         self.level_widget.set_enemies(self.show_enemies.value)
     518        if self._menu_mode == 'drawing':
     519            self.level_widget.set_objects(self.show_objs.value)
     520            self.level_widget.set_enemies(self.show_enemies.value)
     521        else:
     522            self.level_widget.set_objects(True)
     523            self.level_widget.set_enemies(True)
    520524        super(EditorApp, self).draw(surface)
    521525
Note: See TracChangeset for help on using the changeset viewer.