Commit cda81f0d authored by Guillaume Seguin's avatar Guillaume Seguin

Don't slice files twice

parent 068d0636
...@@ -1326,7 +1326,6 @@ Printrun. If not, see <http://www.gnu.org/licenses/>.""" ...@@ -1326,7 +1326,6 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
"\n" + traceback.format_exc()) "\n" + traceback.format_exc())
if name.lower().endswith(".stl") or name.lower().endswith(".obj"): if name.lower().endswith(".stl") or name.lower().endswith(".obj"):
self.slice(name) self.slice(name)
self.slice(name)
else: else:
self.load_gcode_async(name) self.load_gcode_async(name)
else: else:
......
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