Fix brushId to id in runtime-host.ts

This commit is contained in:
2026-04-15 01:44:57 +02:00
parent 16dd969a88
commit 22a4f2a425

View File

@@ -3080,7 +3080,7 @@ export class RuntimeHost {
if (this.runtimeScene !== null) {
const brush =
this.runtimeScene.brushes.find((candidate) => candidate.brushId === brushId) ??
this.runtimeScene.brushes.find((candidate) => candidate.id === brushId) ??
null;
if (brush !== null) {