csaez / quicklauncher

A minimal Qt based menu to quickly find and execute Maya commands and user scripts.
71 stars 19 forks source link

Reload scripts repo #9

Open csaez opened 8 years ago

csaez commented 8 years ago

It might be useful to have a mechanism to refresh custom scripts available (especially during development).

matthewkapfhammer commented 7 years ago

In http://www.chadvernon.com/blog/maya/unit-testing-in-maya-part-2/, @chadmv referenced this article: http://pyunit.sourceforge.net/notes/reloading.html. I haven't had a chance to work with it yet so I don't know the limitations, but it seems like a similar approach would be worth trying.

csaez commented 7 years ago

Thanks Maththew,

I have a little tool to deal with this at a package level and there's the very cool reimport (I've used it on tricky production environments and it works great, there's no need to reinvent the wheel).

Unfortunately I haven't had the time to add any of this to quicklauncher (that is, adding something to reload the script repo), but it's totally doable and if there's anyone wanting to contribute I would gladly accept pull requests.

Cheers!