Backup RFP Infinity controller state before Resolume changes
This commit is contained in:
@@ -415,9 +415,14 @@ function loadFXData(callback = null)
|
||||
.then(json => {
|
||||
clearErrorToast();
|
||||
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(function (error) {
|
||||
fxdata = [];
|
||||
|
||||
Reference in New Issue
Block a user