View Single Post
  #2  
Old 08-01-2008, 11:06 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
The following should work:
Code:
parent.enable(viz.LIGHTING,op=viz.OP_ROOT|viz.OP_TRAVERSE)
This will perform the operation to include all children Vizard nodes. You can also place all the objects underneath a group node, which will automatically perform all operations on its childeren, without needing to specify the op mode.
Reply With Quote