Skip to content

Commit

Permalink
HYDRA-783 : Add degree 5 test
Browse files Browse the repository at this point in the history
  • Loading branch information
debloip-adsk committed Feb 5, 2024
1 parent e3b37d6 commit d5dc8fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions test/lib/mayaUsd/render/mayaToHydra/testCurveTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ def test_CurveControlVertices(self):
self.compareSnapshot("curveControlVertices_degree2.png")
cmds.delete(curve)

curve = cmds.curve(point=self.POINTS, degree=5)
self.compareSnapshot("curveControlVertices_degree5.png")
cmds.delete(curve)

curve = cmds.curve(point=self.POINTS, bezier=True)
self.compareSnapshot("curveControlVertices_bezier.png")
cmds.delete(curve)
Expand All @@ -87,6 +91,10 @@ def test_CurveEditPoints(self):
self.compareSnapshot("curveEditPoints_degree2.png")
cmds.delete(curve)

curve = cmds.curve(editPoint=self.POINTS, degree=5)
self.compareSnapshot("curveEditPoints_degree5.png")
cmds.delete(curve)

curve = cmds.curve(editPoint=self.POINTS, bezier=True)
self.compareSnapshot("curveEditPoints_bezier.png")
cmds.delete(curve)
Expand Down

0 comments on commit d5dc8fb

Please sign in to comment.