From 899f2a12bd5dd735b10989f138864e6342a0caf6 Mon Sep 17 00:00:00 2001 From: av8ta Date: Mon, 8 Apr 2024 12:03:55 +1000 Subject: [PATCH] add base path for textures --- applications/web/src/routes/(CADmium)/Scene.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/web/src/routes/(CADmium)/Scene.svelte b/applications/web/src/routes/(CADmium)/Scene.svelte index da3a63c6..28630b36 100644 --- a/applications/web/src/routes/(CADmium)/Scene.svelte +++ b/applications/web/src/routes/(CADmium)/Scene.svelte @@ -11,6 +11,7 @@ import Plane from "./Plane.svelte" import Solid from "./Solid.svelte" import Sketch from "./Sketch.svelte" + import { base } from "$app/paths" // prettier-ignore const log = (function () { const context = "[Scene.svelte]"; const color="gray"; return Function.prototype.bind.call(console.log, console, `%c${context}`, `font-weight:bold;color:${color};`)})() @@ -142,7 +143,7 @@ - + {#each points as [pointName, point] (`${$workbench.name}-${pointName}`)}