Oodini
08-19-2009, 02:32 PM
Hello,
I created a shader node, and one attribute must refer to a camera in the Maya scene.
I'd like the user be able to select it from 3 ways :
by typing the camera name in a text field
by clicking on a button next the text field; then, the user can choose the camera from a window where are listed the cameras, or by clicking on the camera in the 3D viewports
The problem is the third way (the user select the object in the scene view). I think it is related to contexts, but I don't know anything to contexts, cand I can't find any doc except reference doc.
Thanks for help.
I created a shader node, and one attribute must refer to a camera in the Maya scene.
I'd like the user be able to select it from 3 ways :
by typing the camera name in a text field
by clicking on a button next the text field; then, the user can choose the camera from a window where are listed the cameras, or by clicking on the camera in the 3D viewports
The problem is the third way (the user select the object in the scene view). I think it is related to contexts, but I don't know anything to contexts, cand I can't find any doc except reference doc.
Thanks for help.
