1. You should probably use a more descriptive function name. Generic names like "texture" are easy to type, but when you look at your code some time from now, or share it with others, a more descriptive name will be appriciated. So instead of Texture() we'll use ApplyNoiseTexture(). 2. The problem is that you are…
To update the ui you can add a selection callback:( tp = teapot name:"Special teapot" fn selectionCallback e handles = ( if handles.count == 1 and selection[1] == tp then print tp.name ) ::callbackItem = nodeEventCallback selectionChanged:selectionCallback) This one checks if there is only one object selected and if the…