diff options
| author | bashuart <[email protected]> | 2017-06-29 14:53:48 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-06-29 14:53:48 -0700 |
| commit | fc799e3c1d31baf127c54924ae5b9f540095e1c4 (patch) | |
| tree | 5c95a7d03ec8eb149da97a19a1cf50848c841140 | |
| parent | fixed vimeo links (diff) | |
| download | artv2-fc799e3c1d31baf127c54924ae5b9f540095e1c4.tar.xz artv2-fc799e3c1d31baf127c54924ae5b9f540095e1c4.zip | |
Update ARTv2.py
Added some extra information in the warning for anyone else hitting the issue whereby the tools wouldn't load if the directory isn't named 'ARTv2'. In my case, I'd downloaded the master branch off github and therefor the directory was called 'ARTv2-master' which failed.
| -rw-r--r-- | plug-ins/ARTv2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plug-ins/ARTv2.py b/plug-ins/ARTv2.py index 53f05bd..97c9309 100644 --- a/plug-ins/ARTv2.py +++ b/plug-ins/ARTv2.py @@ -192,7 +192,7 @@ def browse(*args): mayaToolsDir = cmds.fileDialog2(dialogStyle=2, fileMode=3)[0] # confirm that this is actually the maya tools directory if os.path.basename(mayaToolsDir) != "ARTv2": - cmds.warning("Selected directory is not valid. Please locate the ARTv2 directory.") + cmds.warning("Selected directory is not valid. Please locate the ARTv2 directory or ensure the directory is named 'ARTv2'.") else: cmds.deleteUI("epicToolsInstall_UI") |