home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / share / k3d / scripts / scripted_plugins / toggle_backfacing.py < prev   
Encoding:
Text File  |  2008-02-03  |  436 b   |  13 lines

  1. #python
  2.  
  3. # k3d:plugin-class="application"
  4. # k3d:plugin-type="ActionScript"
  5. # k3d:plugin-name="Toggle Backfacing"
  6. # ngui:action=""
  7.  
  8. import k3d
  9.  
  10. k3d.get_command_node("/document/selection_tool").execute_command("toggle_pick_backfacing", "")
  11. k3d.get_command_node("/document/selection_tool").execute_command("toggle_paint_backfacing", "")
  12. k3d.get_command_node("/document/selection_tool").execute_command("toggle_rubber_band_backfacing", "")
  13.