theodox / mGui

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

MenuItemProxy fails during instantiate() #94

Closed Zackaroni closed 6 years ago

Zackaroni commented 6 years ago

I'm getting this error when trying to load a shelf: # AttributeError: 'MenuItem' object has no attribute 'itemArray' //

It looks like the problem might be with the change to a self.proxy.wrap call in the previous line. Reverting that to gui.PopupMenu.wrap seems to fix it.

Zackaroni commented 6 years ago

Pull request #95 has my fix in it.