convert preview path to async function. remove shared array from animation direct list

This commit is contained in:
Stewart Allen 2022-10-16 01:06:39 -04:00
commit e970d377b2
7 changed files with 26 additions and 22 deletions

View file

@ -26,7 +26,7 @@ const POLY = polygons;
* @param {Number} [index] into widget array
* @param {Object} [firstPoint] starting point
*/
CAM.prepare = function(widgets, settings, update) {
CAM.prepare = async function(widgets, settings, update) {
widgets = widgets.filter(w => !w.track.ignore && !w.meta.disabled);
const count = widgets.length;