From fc799e3c1d31baf127c54924ae5b9f540095e1c4 Mon Sep 17 00:00:00 2001 From: bashuart Date: Thu, 29 Jun 2017 14:53:48 -0700 Subject: 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. --- plug-ins/ARTv2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v1.2.3