Browse Source

Removing unused imports

Thomas-Karl Pietrowski 9 years ago
parent
commit
5ae63f2de1
4 changed files with 2 additions and 8 deletions
  1. 1 1
      cura/CuraActions.py
  2. 0 2
      cura/PlatformPhysics.py
  3. 0 2
      cura/PlatformPhysicsOperation.py
  4. 1 3
      cura/PrintInformation.py

+ 1 - 1
cura/CuraActions.py

@@ -1,4 +1,4 @@
-from PyQt5.QtCore import QObject, pyqtSlot, pyqtProperty, QUrl
+from PyQt5.QtCore import QObject, pyqtSlot, QUrl
 from PyQt5.QtGui import QDesktopServices
 
 from UM.Event import CallFunctionEvent

+ 0 - 2
cura/PlatformPhysics.py

@@ -5,8 +5,6 @@ from PyQt5.QtCore import QTimer
 
 from UM.Scene.SceneNode import SceneNode
 from UM.Scene.Iterator.BreadthFirstIterator import BreadthFirstIterator
-from UM.Operations.TranslateOperation import TranslateOperation
-from UM.Math.Float import Float
 from UM.Math.Vector import Vector
 from UM.Math.AxisAlignedBox import AxisAlignedBox
 from UM.Application import Application

+ 0 - 2
cura/PlatformPhysicsOperation.py

@@ -2,8 +2,6 @@
 # Cura is released under the terms of the AGPLv3 or higher.
 
 from UM.Operations.Operation import Operation
-from UM.Operations.AddSceneNodeOperation import AddSceneNodeOperation
-from UM.Operations.TranslateOperation import TranslateOperation
 from UM.Operations.GroupedOperation import GroupedOperation
 
 ##  A specialised operation designed specifically to modify the previous operation.

+ 1 - 3
cura/PrintInformation.py

@@ -1,11 +1,9 @@
 # Copyright (c) 2015 Ultimaker B.V.
 # Cura is released under the terms of the AGPLv3 or higher.
 
-from PyQt5.QtCore import QObject, QDateTime, QTimer, pyqtSignal, pyqtSlot, pyqtProperty
+from PyQt5.QtCore import QObject, pyqtSignal, pyqtProperty
 
 from UM.Application import Application
-from UM.Resources import Resources
-from UM.Scene.SceneNode import SceneNode
 from UM.Qt.Duration import Duration
 
 import math