Skip to content

Commit

Permalink
Make sure background color is explicitly set (to default) during auto…
Browse files Browse the repository at this point in the history
…test snapshots
  • Loading branch information
vlasovi committed Jun 8, 2022
1 parent 9d51a9a commit 12cd6ce
Show file tree
Hide file tree
Showing 7 changed files with 1 addition 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.
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.
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.
1 change: 1 addition & 0 deletions test/testUtils/imageUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ def resetDefaultLightIntensity():

def snapshot(outputPath, width=400, height=None, hud=False, grid=False, camera=None):
resetDefaultLightIntensity()
cmds.displayRGBColor('background', 0.36, 0.36, 0.36)

if height is None:
height = width
Expand Down

0 comments on commit 12cd6ce

Please sign in to comment.