12 lines
353 B
Plaintext
12 lines
353 B
Plaintext
|
/*
|
||
|
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();
|