aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/editor/EditorStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/editor/EditorStore.ts')
-rw-r--r--subprojects/frontend/src/editor/EditorStore.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/subprojects/frontend/src/editor/EditorStore.ts b/subprojects/frontend/src/editor/EditorStore.ts
index f9a9a7da..9508858d 100644
--- a/subprojects/frontend/src/editor/EditorStore.ts
+++ b/subprojects/frontend/src/editor/EditorStore.ts
@@ -313,14 +313,14 @@ export default class EditorStore {
313 this.disposed = true; 313 this.disposed = true;
314 } 314 }
315 315
316 startModelGeneration(): void { 316 startModelGeneration(randomSeed?: number): void {
317 this.client 317 this.client
318 ?.startModelGeneration() 318 ?.startModelGeneration(randomSeed)
319 ?.catch((error) => log.error('Could not start model generation', error)); 319 ?.catch((error) => log.error('Could not start model generation', error));
320 } 320 }
321 321
322 addGeneratedModel(uuid: string): void { 322 addGeneratedModel(uuid: string, randomSeed: number): void {
323 this.generatedModels.set(uuid, new GeneratedModelStore()); 323 this.generatedModels.set(uuid, new GeneratedModelStore(randomSeed));
324 this.selectGeneratedModel(uuid); 324 this.selectGeneratedModel(uuid);
325 } 325 }
326 326