LumaPictures / usd-qt

Reusable Qt Components for Pixar's USD
Other
153 stars 40 forks source link

Build contexts are persisted by MenuActions instead of being properly refreshed #14

Closed nrusch closed 6 years ago

nrusch commented 6 years ago

Currently, the default implementation of MenuAction.Build freezes the build context in the scope of the slot connected to the created QAction's triggered signal. This currently only manifests as a problem when using the MenuBarBuilder, since menus are not rebuilt on every invocation.

We need to make sure fresh contexts are available in every Build and Update call.

nrusch commented 6 years ago

This should be fixed by 1f090bb6ac4f5eda847d0ad44a8e1a219d56f8f7 (currently on dev)