Backup RFP Infinity controller state before Resolume changes
This commit is contained in:
@@ -550,9 +550,14 @@ function loadFXData(callback = null)
|
||||
})
|
||||
.then((json)=>{
|
||||
fxdata = json||[];
|
||||
// add default value for Solid
|
||||
fxdata.shift()
|
||||
fxdata.unshift(";!;");
|
||||
// RFP builds return id-keyed fxdata objects so effect IDs stay stable.
|
||||
if (Array.isArray(fxdata)) {
|
||||
// add default value for Solid
|
||||
fxdata.shift()
|
||||
fxdata.unshift(";!;");
|
||||
} else if (!fxdata[0]) {
|
||||
fxdata[0] = ";!;";
|
||||
}
|
||||
})
|
||||
.catch((e)=>{
|
||||
fxdata = [];
|
||||
|
||||
Reference in New Issue
Block a user