Code: Select all
if(Node.IsCamera('') || Node.IsLight('')){Space.Unselect();}
MeshModifiers.ToggleTool('/Widgets/Tools/Material editor/Inspect')
Code: Select all
if(Node.IsCamera('') || Node.IsLight('')){Space.Unselect();}
MeshModifiers.ToggleTool('/Widgets/Tools/Material editor/Inspect')
Looks like it would work. Why deselect lights when the camera is the problem?trueBlue wrote: ↑09 Dec 2021, 16:11 Think I have a fix for the Material Inspect not working when viewing from a selected Camera
Code: Select all
if(Node.IsCamera('') || Node.IsLight('')){Space.Unselect();} MeshModifiers.ToggleTool('/Widgets/Tools/Material editor/Inspect')
Without out it, selecting lights and camera(s) will not unselect the cameraclintonman wrote: ↑10 Dec 2021, 16:33Looks like it would work. Why deselect lights when the camera is the problem?trueBlue wrote: ↑09 Dec 2021, 16:11 Think I have a fix for the Material Inspect not working when viewing from a selected Camera
Code: Select all
if(Node.IsCamera('') || Node.IsLight('')){Space.Unselect();} MeshModifiers.ToggleTool('/Widgets/Tools/Material editor/Inspect')