View Single Post
# 3 01-10-2014 , 04:15 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
Just a bit more sleuthing. The default hotkey/context and the associated file (and .res.mel file)

Shift + RMB, nothing selected (poly creation MM) --> contextPolyToolsDefaultMM.mel

Shift + RMB over poly object --> contextPolyToolsObjectMM.mel

Shift + RMB over poly vertex mode --> contextPolyToolsVertexMM.mel
Shift + RMB over poly edge mode --> contextPolyToolsEdgeMM.mel
Shift + RMB over poly face mode --> contextPolyToolsFaceMM.mel
Shift + RMB over poly UV mode --> (no default, but can create a User one, see below)


Ctrl + RMB with poly selected (conversion) --> polyConvertMM.mel


I've further noticed that there generally seems to be an if statement like so:
Code:
if (`exists contextPolyToolsObjectUserMM`)
				contextPolyToolsObjectUserMM $parent;

			return 1;
		}
And documentation that says:
// allow user to define a proc with additional menu items

So I would assume this would be better than modifying the original values, although I'm not sure if this "user MM" overwrites the original, or just adds stuff to the bottom. Worth experimenting with.


-stwert

Website - Blog - YouTube - Vimeo - Facebook - Twitter

-->How to Effectively Ask Questions on Forums<--