Updated
This commit is contained in:
12
Scripts/Animation/studiolibrary/install.mel
Normal file
12
Scripts/Animation/studiolibrary/install.mel
Normal file
@ -0,0 +1,12 @@
|
||||
/*
|
||||
Drag and drop for Maya 2016+
|
||||
*/
|
||||
|
||||
global proc studioLibraryInstall() {
|
||||
string $whatIs = `whatIs studioLibraryInstall`;
|
||||
string $path = `substring $whatIs 25 999`;
|
||||
string $filename = `substitute "install.mel" $path "install.py"`;;
|
||||
python("import imp;imp.load_source('_studioLibraryInstall', '"+$filename+"')");
|
||||
}
|
||||
|
||||
studioLibraryInstall();
|
Reference in New Issue
Block a user