chiark / gitweb /
Improve clarity of one-at-a-time mode. Part of #128
authornickthetait <tait@alephobjects.com>
Mon, 6 Jul 2015 20:26:54 +0000 (14:26 -0600)
committernickthetait <tait@alephobjects.com>
Thu, 9 Jul 2015 14:51:14 +0000 (08:51 -0600)
Cura/util/objectScene.py

index d29ded10c4b5aa8daa3d1523e11e643c2029b5a8..da590a30d44b2be77003ecc954944791bd157631 100644 (file)
@@ -178,13 +178,9 @@ class Scene(object):
                                        self._oneAtATime = False
                                        if self._lastResultOneAtATime:
                                                if self._sceneView:
-                                                       self._sceneView.notification.message("Info: Print one at a time mode disabled. Object too tall.")
+                                                       self._sceneView.notification.message("Object must be shorter than {}mm for this printer/toolhead. Reduce object size or swap to \"All at once\" mode. ".format(self._gantryHeight))
                                                break
 
-               if self._lastOneAtATime and self._oneAtATime and not self._lastResultOneAtATime:
-                       if self._sceneView:
-                               self._sceneView.notification.message("Info: Print one at a time mode re-enabled.")
-
                self._lastResultOneAtATime = self._oneAtATime
                self._lastOneAtATime = printOneAtATime