Commit 92ac1372 authored by sumpfralle's avatar sumpfralle

fixed URL handling for SVG and PS importer


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@1034 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 8a797963
......@@ -61,6 +61,7 @@ def import_model(filename, program_locations=None, unit="mm", callback=None,
return
filename = ps_file_name
else:
filename = uri.get_local_path()
local_file = True
if program_locations and "pstoedit" in program_locations:
......
......@@ -112,6 +112,7 @@ def import_model(filename, program_locations=None, unit="mm", callback=None,
"file: %s -> %s" % (uri, svg_file_name))
filename = svg_file_name
else:
filename = uri.get_local_path()
local_file = True
if program_locations and "inkscape" in program_locations:
......
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