Skip to content

Commit

Permalink
Merge pull request #3813 from Autodesk/bailp/EMSUSD-1358/camera-diff
Browse files Browse the repository at this point in the history
EMSUSD-1358 fix blessing failure
  • Loading branch information
seando-adsk authored Jun 10, 2024
2 parents 466543d + 11490c1 commit 76fadc8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def testStaticUsdCamera(self):
clippingAttr = usdCamera.GetAttribute('clippingRange')
clippingRange = clippingAttr.Get()
clippingAttr.Set(Gf.Vec2f(10, 5000))
# Translate the camera to force the view to update
cam2Transform3d.translate(0, 0, 0)
cam2Transform3d.translate(-1, 0, 0)
self.assertSnapshotClose('%s_cam2_insideNearClipPlane.png' % self._testName)

if __name__ == '__main__':
Expand Down

0 comments on commit 76fadc8

Please sign in to comment.