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

@@ -2097,7 +2097,7 @@ bool WS2812FX::deserializeMap(uint8_t n) {
Segment::maxWidth = p.width;
Segment::maxHeight = p.height;
makeAutoSegments();
resetSegments(true); //WLEDMM not makeAutoSegments() as we only want to change bounds
}
customMappingSize = map.size();