mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
Move backend location preference into the backend class and use the new api
This commit is contained in:
parent
27f475dc79
commit
4e6322d94e
2 changed files with 3 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue