Fix error when changing shape with no selection
This commit is contained in:
parent
bc3b1861c0
commit
50425f384f
@ -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
|
||||
|
Reference in New Issue
Block a user