Commit d0294c34 authored by sumpfralle's avatar sumpfralle

fixed broken function name in start script (due to a recent name change)


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@292 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 0e66a8d9
...@@ -23,10 +23,10 @@ if __name__ == "__main__": ...@@ -23,10 +23,10 @@ if __name__ == "__main__":
help="use the (old) Tk interface") help="use the (old) Tk interface")
parser.add_option("-c", "--config", dest="config_file", parser.add_option("-c", "--config", dest="config_file",
default=None, action="store", type="string", default=None, action="store", type="string",
help="load a settings file (requires the GTK interface)") help="load a task settings file (requires the GTK interface)")
parser.add_option("", "--task", dest="task", parser.add_option("", "--task", dest="task",
default=None, action="store", type="int", default=None, action="store", type="int",
help="choose a specific task from settings by number (requires the GTK interface)") help="choose a specific task from task settings by number (requires the GTK interface)")
parser.add_option("", "--disable-ode", dest="ode_disabled", parser.add_option("", "--disable-ode", dest="ode_disabled",
default=False, action="store_true", help="disable experimental ODE collision detection") default=False, action="store_true", help="disable experimental ODE collision detection")
(options, args) = parser.parse_args() (options, args) = parser.parse_args()
...@@ -102,11 +102,11 @@ if __name__ == "__main__": ...@@ -102,11 +102,11 @@ if __name__ == "__main__":
gui.load_model(TestModel()) gui.load_model(TestModel())
else: else:
gui.open(inputfile) gui.open(inputfile)
# load settings file # load task settings file
# only available for the GTK interface # only available for the GTK interface
if options.gtk_gui: if options.gtk_gui:
if options.config_file: if options.config_file:
gui.open_settings_file(options.config_file) gui.open_task_settings_file(options.config_file)
if outputfile and not options.display: if outputfile and not options.display:
# an output filename is given and no gui is explicitly requested # an output filename is given and no gui is explicitly requested
if options.gtk_gui: if options.gtk_gui:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment