auto-git:

[change] src/app/App.tsx
 [change] src/app/app.css
 [change] src/assets/image-assets.ts
 [change] src/commands/create-custom-material-command.ts
 [change] src/commands/set-custom-material-texture-command.ts
 [change] src/commands/update-custom-material-command.ts
 [change] src/document/migrate-scene-document.ts
 [change] src/rendering/terrain-layer-material.ts
 [change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-05-18 16:20:41 +02:00
parent 977b4cccea
commit 1fb96650c5
9 changed files with 200 additions and 105 deletions

View File

@@ -43,7 +43,9 @@ export function createCreateCustomMaterialCommand(
const currentDocument = context.getDocument();
if (nextMaterial.kind !== "custom") {
throw new Error("Only custom materials can be created by this command.");
throw new Error(
"Only custom materials can be created by this command."
);
}
if (currentDocument.materials[nextMaterial.id] !== undefined) {