GenerateTool doesn't call boundsChanged if no currentGenerator
This commit is contained in:
parent
15cb5e03d7
commit
519b21329a
@ -305,6 +305,9 @@ class GenerateTool(EditorTool):
|
||||
|
||||
def boundsDidChange(self, bounds):
|
||||
# box still being resized
|
||||
if not self.currentGenerator:
|
||||
return
|
||||
|
||||
if not self.livePreview:
|
||||
return
|
||||
|
||||
@ -314,6 +317,8 @@ class GenerateTool(EditorTool):
|
||||
|
||||
def boundsDidChangeDone(self, bounds, newSelection):
|
||||
# box finished resize
|
||||
if not self.currentGenerator:
|
||||
return
|
||||
|
||||
self.previewBounds = bounds
|
||||
self.schematicBounds = bounds
|
||||
|
Reference in New Issue
Block a user