Fix imports for GCodeReader

This code was more or less copied from the writer. It requires regular expressions and the application, but I didn't take the imports along.

Contributes to issue CURA-34.
This commit is contained in:
Ghostkeeper 2015-12-10 13:51:36 +01:00
parent d60d2f6c71
commit 5358dfe2d6

View file

@ -1,7 +1,9 @@
# Copyright (c) 2015 Ultimaker B.V.
# Cura is released under the terms of the AGPLv3 or higher.
from UM.Application import Application #To get the current profile that should be updated with the settings from the g-code.
from UM.Mesh.MeshReader import MeshReader
import re #Regular expressions for parsing escape characters in the settings.
## A class that reads profile data from g-code files.
#