Remove _profile from start slice job parameters

Instead, the start slice job searches for the container stack itself.

Contributes to issue CURA-1278.
This commit is contained in:
Ghostkeeper 2016-05-23 13:56:42 +02:00
parent a0645a44c8
commit 63bf5bec3d
2 changed files with 3 additions and 3 deletions

View file

@ -31,11 +31,11 @@ class GcodeStartEndFormatter(Formatter):
## Job that handles sending the current scene data to CuraEngine
class StartSliceJob(Job):
def __init__(self, profile, socket):
def __init__(self, socket):
super().__init__()
self._scene = Application.getInstance().getController().getScene()
self._profile = profile
self._settings = Application.getInstance().getGlobalContainerStack()
self._socket = socket
## Runs the job that initiates the slicing.