1. Dan Helfman
  2. Maproom

Commits

Dan Helfman  committed c920e44

#432: After selecting a line segment, clearing the selection no longer works.

  • Participants
  • Parent commits c28517c
  • Branches default

Comments (0)

Files changed (1)

File maproomlib/plugin/Layer_selection_layer.py

View file
                            lowerable = None, deletable = None,
                            layer_deletable = None, include_range = False,
                            record_undo = True ):
+        # A Layer_selection_layer is only interested in selecting whole
+        # layers, not individual objects within a layer.
+        if object_indices:
+            return
+
         if layer is None or not hasattr( layer, "inbox" ):
             return
         if self.ghost_layer( layer ):