View Single Post
  #2  
Old 07-17-2008, 04:17 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
You are creating the info variable in a different indentation block than the if statement. So if the right mouse button was clicked you would get an error because the info object would never be created. So you need to indent the if info.valid and info.object == female: block so it is in the same scope as the line info = viz.pick(1)
Reply With Quote