Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- macroScript UV_Editor
- ButtonText:"UV_Editor"
- Category:"# Toggle"
- Tooltip:"(Alt+E) UV_Editor"
- (
- global EditUVWsWindow
- if classof (Filters.GetModOrObj())==(Unwrap_UVW)
- then
- (
- if EditUVWsWindow == true then
- (
- ChildWindows = UIAccessor.GetChildWindows (DialogMonitorOPS.GetWindowHandle())
- for i in ChildWindows where (UIAccessor.GetWindowText i)=="Edit UVWs" do
- (
- max create mode
- max modify mode
- )
- EditUVWsWindow = false
- )
- else
- (
- actionMan.executeAction 2077580866 "40005"
- EditUVWsWindow = true
- )
- )
- else
- (
- modPanel.addModToSelection (Unwrap_UVW ()) ui:on
- actionMan.executeAction 2077580866 "40005"
- EditUVWsWindow = true
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment