Closed GoogleCodeExporter closed 9 years ago
So, the problem here is that our examples are auto-generated off of Autodesk's
examples, from here:
http://download.autodesk.com/global/docs/maya2013/en_us/PyMel/generated/function
s/pymel.core.windows/pymel.core.windows.overrideModifier.html
...which are also incorrect, in the same ways:
1) it's double-quoting the command
2) it's never assigning the release command, but just the press command twice.
This should "work":
nameCommand
-annotation "Alternate Alt-press modifier key"
-command "overrideModifier -press Alt"
alternateAltPressCommand;
nameCommand
-annotation "Alternate Alt-release modifier key"
-command "overrideModifier -release Alt"
alternateAltReleaseCommand;
hotkey -keyShortcut "a" -name "alternateAltPressCommand";
hotkey -keyShortcut "a" -releaseName "alternateAltReleaseCommand";
...however, it seems that you still can't use the overrideModifier command to
affect the window-navigation behavior... =/
If you want to get either the example fixed, or make the overrideModifier
affect window-navigation, you'll need to go through autodesk, so I'm closing
this bug...
Original comment by elron...@gmail.com
on 8 Feb 2014 at 3:49
Thanks for helping!
Original comment by pgrenier...@gmail.com
on 10 Feb 2014 at 1:22
Original issue reported on code.google.com by
pgrenier...@gmail.com
on 13 Dec 2013 at 2:40