Skip to content

Commit

Permalink
Merge pull request #833 from mattyjams/pr/fix_testProxyShapeDrawColor…
Browse files Browse the repository at this point in the history
…s_displayColor_export

enable exportDisplayColor in testProxyShapeDrawColors test following #822
  • Loading branch information
Krystian Ligenza authored Oct 15, 2020
2 parents e65b8c2 + 0ccd055 commit 3e7719f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def testMeshNextToProxyShapeAndImported(self):
x = self._PlaneWithColor((0.55, 0.55, 0.55))
cmds.select(x)
usdFile = os.path.join(self._testDir, 'plane.usd')
cmds.mayaUSDExport(file=usdFile, selection=True, shadingMode='displayColor')
cmds.mayaUSDExport(file=usdFile, selection=True, shadingMode='none',
exportDisplayColor=True)
proxyShape = cmds.createNode('mayaUsdProxyShape', name='usdProxyShape')
proxyTransform = cmds.listRelatives(proxyShape, parent=True,
fullPath=True)[0]
Expand Down

0 comments on commit 3e7719f

Please sign in to comment.