// Toogle Wireframe on Shaded Objects on ActiveViewport v0.1 Dec 30, 2009
//
// DESCRIPTION:
// This is a simple Script that toggles ON and OFF the wireframe shade on shaded objects in active viewport.
// I wrote this script because sometimes i needed to see the wireframe on shaded objects in the display.
// It works like the shortcut key F4 in 3ds max, and applied this script to the key F4.so i am fine when i am in 3ds max also :)
// This script will only toggle the active viewport , but if you want all the displays being toggled have a look at my other script named
// "toggle_wireframe_on_shaded"
//
// INSTALLATION INSTRUCTIONS:
// The way i prefer using this is binding the script with a hotkey. So with one keypress one can toggle the shading.
// Or if one prefers it to stay in the shelf:
// Simply Copy the contents of "toggle_wireframe_on_shaded_vxx.txt" and paste it into the Script Editor in Maya.
// then select all again and Middle-Mouse drag the selection to the self you chose.
// So you can easily toogle the toggle_wireframe_on_shaded on an off.
//
// ADDITIONAL INFORMATION:
// This script may be freely distributed in its unmodified form!
//
// AUTHOR:
// Gokhan Ertem
// LAMA Productions
// gokhan@lamaproductions.com
// http://www.lamaproductions.com
//
// COPYRIGHT: Gokhan Ertem