Fix error when changing shape with no selection

This commit is contained in:
David Vierra 2015-01-11 01:27:47 -10:00
parent bc3b1861c0
commit 50425f384f

View File

@ -217,7 +217,8 @@ class SelectionTool(EditorTool):
self.newSelectionNode = None
def shapeDidChange(self):
self.currentSelection = self.createShapedSelection(self.currentSelection)
if self.currentSelection is not None:
self.currentSelection = self.createShapedSelection(self.currentSelection)
def toolInactive(self):
self.faceHoverNode.visible = False