From 8c2a5884d85c9c66fd1ef5a0aa14d3a26e017042 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Tue, 2 Jun 2015 14:18:15 -0400 Subject: [PATCH] Remove useless -r option Fixes issue #62 --- Cura/cura.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Cura/cura.py b/Cura/cura.py index 76558068..27bac0d3 100644 --- a/Cura/cura.py +++ b/Cura/cura.py @@ -19,8 +19,6 @@ def main(): parser = OptionParser(usage="usage: %prog [options] .stl") parser.add_option("-i", "--ini", action="store", type="string", dest="profileini", help="Load settings from a profile ini file") - parser.add_option("-r", "--print", action="store", type="string", dest="printfile", - help="Open the printing interface, instead of the normal cura interface.") parser.add_option("-p", "--profile", action="store", type="string", dest="profile", help="Internal option, do not use!") parser.add_option("-s", "--slice", action="store_true", dest="slice", @@ -48,10 +46,7 @@ def main(): else: profile.loadProfile(profile.getDefaultProfilePath(), True) - if options.printfile is not None: - from Cura.gui import printWindow - printWindow.startPrintInterface(options.printfile) - elif options.slice is not None: + if options.slice is not None: from Cura.util import sliceEngine from Cura.util import objectScene from Cura.util import meshLoader -- 2.30.2