Workspace material picker does not work in a camera view

User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace material picker does not work in a camera view

Post by trueBlue »

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')
User avatar
clintonman
Captain
Posts: 5428
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

Re: Workspace material picker does not work in a camera view

Post by clintonman »

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')
Looks like it would work. Why deselect lights when the camera is the problem?
Clinton Reese

http://clintons3d.com
User avatar
trueBlue
Captain
Posts: 5213
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

Re: Workspace material picker does not work in a camera view

Post by trueBlue »

clintonman wrote: 10 Dec 2021, 16:33
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')
Looks like it would work. Why deselect lights when the camera is the problem?
Without out it, selecting lights and camera(s) will not unselect the camera
Post Reply