Receive3DModelProgress always writes progressNotificationSignal, then only copies mesh stats onto currentModel when currentModel.id === notification.modelId.
currentProgress / currentStage read the notification unconditionally (percentage || 0, stage || Queue). So a progress event for a different model (previous job, second tab, another in-flight generate) drives the progress bar and stage chip while leaving currentModel on the selected id at 0%.
Pinned by threed-generator.hub.spec.ts ("progress for a different modelId still drives the progress bar").
this.progressNotificationSignal.set(notification);constcurrentModel=this.currentModelSignal();if(currentModel&¤tModel.id===notification.modelId){// updates currentModel only
}
`Receive3DModelProgress` always writes `progressNotificationSignal`, then only copies mesh stats onto `currentModel` when `currentModel.id === notification.modelId`.
`currentProgress` / `currentStage` read the notification unconditionally (`percentage || 0`, `stage || Queue`). So a progress event for a *different* model (previous job, second tab, another in-flight generate) drives the progress bar and stage chip while leaving `currentModel` on the selected id at 0%.
Pinned by `threed-generator.hub.spec.ts` ("progress for a different modelId still drives the progress bar").
```ts
this.progressNotificationSignal.set(notification);
const currentModel = this.currentModelSignal();
if (currentModel && currentModel.id === notification.modelId) {
// updates currentModel only
}
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Receive3DModelProgressalways writesprogressNotificationSignal, then only copies mesh stats ontocurrentModelwhencurrentModel.id === notification.modelId.currentProgress/currentStageread the notification unconditionally (percentage || 0,stage || Queue). So a progress event for a different model (previous job, second tab, another in-flight generate) drives the progress bar and stage chip while leavingcurrentModelon the selected id at 0%.Pinned by
threed-generator.hub.spec.ts("progress for a different modelId still drives the progress bar").Already on
master. Receive3DModelProgress already ignores a foreign modelId, so the progress bar follows only the current model. Closing.