mirror of
https://github.com/Doodle3D/doodle3d-connect.git
synced 2024-12-26 02:23:48 +01:00
hack to support Ultimaker 2+
This commit is contained in:
parent
3a9688a915
commit
46a0437f89
@ -186,6 +186,11 @@
|
|||||||
_configAPI.loadAll(function(successData) {
|
_configAPI.loadAll(function(successData) {
|
||||||
_wifiboxSettings = successData;
|
_wifiboxSettings = successData;
|
||||||
|
|
||||||
|
//hack to support Ultimaker 2+. actual fix would be to add Ultimaker 2+ to WiFi-Box firmware.
|
||||||
|
if (_slicerSettings.printer.type==="ultimaker2_plus") {
|
||||||
|
_slicerSettings.printer.type = "ultimaker2";
|
||||||
|
}
|
||||||
|
|
||||||
var data = {
|
var data = {
|
||||||
slicerPrinterType: _slicerSettings.printer.type,
|
slicerPrinterType: _slicerSettings.printer.type,
|
||||||
wifiboxPrinterType: _wifiboxSettings["printer.type"]
|
wifiboxPrinterType: _wifiboxSettings["printer.type"]
|
||||||
|
Loading…
Reference in New Issue
Block a user