Extract custom material reference when inspecting materials

This commit is contained in:
2026-05-18 16:11:34 +02:00
parent 26be5d6544
commit bf14a16669

View File

@@ -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 =