From 7824d8f6ab5da5c26f77ac5785b39b848b2cbb13 Mon Sep 17 00:00:00 2001 From: debloip Date: Wed, 4 Sep 2024 13:04:55 -0400 Subject: [PATCH] HYDRA-1132 : Adjust camera position to accomodate different viewport sizes --- .../render/mayaToHydra/cpp/testUsdNativeInstancePicking.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/lib/mayaUsd/render/mayaToHydra/cpp/testUsdNativeInstancePicking.py b/test/lib/mayaUsd/render/mayaToHydra/cpp/testUsdNativeInstancePicking.py index 85fc58762..67b43cd81 100644 --- a/test/lib/mayaUsd/render/mayaToHydra/cpp/testUsdNativeInstancePicking.py +++ b/test/lib/mayaUsd/render/mayaToHydra/cpp/testUsdNativeInstancePicking.py @@ -33,6 +33,9 @@ def loadUsdScene(self): def setUp(self): super(TestUsdNativeInstancePicking, self).setUp() self.loadUsdScene() + cmds.select(clear=True) + cmds.setAttr('persp.translate', 0, 0, 15, type='float3') + cmds.setAttr('persp.rotate', 0, 0, 0, type='float3') cmds.refresh() def test_NativeInstances(self):