fix cam 2d animation

This commit is contained in:
Stewart Allen 2025-07-05 13:30:06 -04:00
commit ee78dd41e7
5 changed files with 142 additions and 131 deletions

View file

@ -744,16 +744,17 @@ dispatch.onmessage = self.onmessage = async function(e) {
}
};
self.kiri_worker = {
const worker = self.kiri_worker = {
cache: wcache,
current,
dispatch,
drivers,
version,
minions: minwork
};
// initilize driver mode handlers
CAM.init(dispatch);
FDM.init(dispatch);
CAM.init(worker);
FDM.init(worker);
broker.publish("worker.started", { dispatch, minions: minwork });