theodox / mGui

Python module for cleaner maya GUI layout syntax
MIT License
123 stars 23 forks source link

Menu loader fix #48

Closed bob-white closed 8 years ago

bob-white commented 8 years ago

Fix for #45.

Added a fallback when acquiring the callable name, this helps handle callables that lack a __name__ attribute. Also added a __name__ attribute to the menu_loader.CallbackProxy object so that it takes advantage of the slightly more descriptive error messages.