restore MM functionality to not reset segments if 2D settings change!!!

customeffects.js:
- rename downloadCEFile to downloadGHFile
- downloadGHFile: add GH ledmaps folder

FX_fcn.cpp and set.cpp:
- change makeAutoSegments with resetSegments(true)
This commit is contained in:
Ewoud
2023-03-13 21:35:48 +01:00
parent 2f274399f3
commit a0576ba591
5 changed files with 817 additions and 811 deletions

View File

@@ -726,7 +726,7 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
strip.panel.push_back(p);
}
strip.setUpMatrix(); // will check limits
strip.makeAutoSegments(true);
strip.resetSegments(true); //WLEDMM not makeAutoSegments(true) as we only want to change bounds
strip.deserializeMap();
} else {
Segment::maxWidth = strip.getLengthTotal();