Skip to content

Commit

Permalink
Merge pull request #2581 from Autodesk/t_bailp/MAYA-000000/fix-proxy-…
Browse files Browse the repository at this point in the history
…shape-test

Change how the active 3D view is retrieved in the test
  • Loading branch information
seando-adsk authored Sep 8, 2022
2 parents 8bf8a98 + 049bab0 commit 5cd0b00
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ def setUp(self):
cmds.refresh()

# Get the viewport widget.
self._view = OMUI.M3dView()
OMUI.M3dView.getM3dViewFromModelPanel(self._panel, self._view)
self._view = OMUI.M3dView().active3dView()
self._viewWidget = wrapInstance(int(self._view.widget()), QWidget)

def tearDown(self):
Expand Down

0 comments on commit 5cd0b00

Please sign in to comment.