Move backend location preference into the backend class and use the new api

This commit is contained in:
Arjen Hiemstra 2015-03-11 18:10:44 +01:00
parent 27f475dc79
commit 4e6322d94e
2 changed files with 3 additions and 4 deletions

View file

@ -1,8 +1,6 @@
#Shoopdawoop
from . import CuraEngineBackend
from UM.Preferences import Preferences
def getMetaData():
return {
'type': 'backend',
@ -12,6 +10,5 @@ def getMetaData():
}
def register(app):
Preferences.addPreference("BackendLocation","../PinkUnicornEngine/CuraEngine")
return CuraEngineBackend.CuraEngineBackend()