Extract custom material reference when inspecting materials
This commit is contained in:
@@ -3017,6 +3017,10 @@ export function App({
|
|||||||
: materialInspectorScope === "face"
|
: materialInspectorScope === "face"
|
||||||
? selectedFaceMaterial
|
? selectedFaceMaterial
|
||||||
: null;
|
: null;
|
||||||
|
const materialInspectorCustomMaterial =
|
||||||
|
materialInspectorMaterial?.kind === "custom"
|
||||||
|
? materialInspectorMaterial
|
||||||
|
: null;
|
||||||
const materialInspectorActiveLabel =
|
const materialInspectorActiveLabel =
|
||||||
materialInspectorScope === "brush" ? "Active Scope" : "Active Face";
|
materialInspectorScope === "brush" ? "Active Scope" : "Active Face";
|
||||||
const materialInspectorActiveValue =
|
const materialInspectorActiveValue =
|
||||||
|
|||||||
Reference in New Issue
Block a user