chiark / gitweb /
Change to amount of copies.
authordaid <daid303@gmail.com>
Thu, 13 Jun 2013 15:32:49 +0000 (17:32 +0200)
committerdaid <daid303@gmail.com>
Thu, 13 Jun 2013 15:32:49 +0000 (17:32 +0200)
Cura/gui/printWindow.py
Cura/gui/sceneView.py

index 2441da322a9d5d5191cecc89e6bfea7d730d8e6a..a752795496a650440bb8038488bd50de0c94dde1 100644 (file)
@@ -456,7 +456,7 @@ class printWindow(wx.Frame):
                        return
                self.currentZ = -1
                if self.cam is not None and self.timelapsEnable.GetValue():
-                       self.cam.startTimelapse(self.filename[: self.filename.rfind('.')] + ".mpg")
+                       self.cam.startTimelapse("c:/models/temp.mpg")
                self.machineCom.printGCode(self.gcodeList)
                self.UpdateButtonStates()
 
index edd5805f91724c061d207e814aa994536aefdc30..a7a7e052629f9c6ee9588a1375bf83220f00c5b1 100644 (file)
@@ -358,11 +358,11 @@ class SceneView(openglGui.glGuiPanel):
                if self._focusObj is None:
                        return
                obj = self._focusObj
-               dlg = wx.NumberEntryDialog(self, "How many items do you want?", "Copies", "Multiply", 2, 1, 100)
+               dlg = wx.NumberEntryDialog(self, "How many copies do you want?", "Copies", "Multiply", 1, 1, 100)
                if dlg.ShowModal() != wx.ID_OK:
                        dlg.Destroy()
                        return
-               cnt = dlg.GetValue() - 1
+               cnt = dlg.GetValue()
                dlg.Destroy()
                n = 0
                while True:
@@ -375,7 +375,7 @@ class SceneView(openglGui.glGuiPanel):
                        if n > cnt:
                                break
                if n <= cnt:
-                       self.notification.message("Could not create more then %d items" % (n))
+                       self.notification.message("Could not create more then %d items" % (n - 1))
                self._scene.remove(newObj)
                self._scene.centerAll()
                self.sceneUpdated()