From bf14a16669877455ff2a0ac061a04774938e7444 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 18 May 2026 16:11:34 +0200 Subject: [PATCH] Extract custom material reference when inspecting materials --- src/app/App.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 0a10ed47..b06f8328 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -3017,6 +3017,10 @@ export function App({ : materialInspectorScope === "face" ? selectedFaceMaterial : null; + const materialInspectorCustomMaterial = + materialInspectorMaterial?.kind === "custom" + ? materialInspectorMaterial + : null; const materialInspectorActiveLabel = materialInspectorScope === "brush" ? "Active Scope" : "Active Face"; const materialInspectorActiveValue =