theodox / mGui

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

Adding PopupMenuProxy class #96

Closed bob-white closed 6 years ago

bob-white commented 6 years ago

This should fix #94 plus bring the PopupMenu creation in line with other elements of the shelf builder.

This also reworks the builder to only build one PopupMenu instance instead of recreating it for each menuItem.

bob-white commented 6 years ago

@Zackaroni Can you test this as a fix against #94? Its working for me against the example shelf, but want to see that you don't have a fun edge case that I missed.

Zackaroni commented 6 years ago

It's working for me. If there's an edge case, I don't have it.