Created
February 7, 2015 22:12
-
-
Save lapaev/6ed096832bb52c42ac63 to your computer and use it in GitHub Desktop.
Toggle Curves in maya viewports
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global proc toggleCurveser(){ | |
| for ($x in `getPanel -type modelPanel`){ | |
| int $curvesval = !`modelEditor -q -nurbsCurves modelPanel4`; | |
| modelEditor -e -nurbsCurves $curvesval $x; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment