Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy a test file for use in overwrite testing #3922

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/lib/ufe/testReferenceCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def testReloadReferencesCommands(self):

# paths to the files used in this test
newFile = testUtils.getTestScene('twoSpheres', 'spherexform.usda')
oldFile = testUtils.getTestScene('twoSpheres', 'sphere.usda')
oldFile = testUtils.getTestScene('twoSpheres', 'sphere_ext.usda')
bkFile = testUtils.getTestScene('twoSpheres', 'sphere_bk.usda')
refFile = testUtils.getTestScene('twoSpheres', 'spheres_ref.usda')

Expand Down
21 changes: 21 additions & 0 deletions test/testSamples/twoSpheres/sphere_ext.usda
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#usda 1.0
(
defaultPrim = "sphereXform"
)

def Xform "sphereXform"
{
double3 xformOp:translate = (10, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate"]

def Xform "test"
{
}

def Sphere "sphere"
{
float3[] extent = [(-2, -2, -2), (2, 2, 2)]
color3f[] primvars:displayColor = [(0, 1, 0)]
double radius = 2
}
}
2 changes: 1 addition & 1 deletion test/testSamples/twoSpheres/spheres_ref.usda
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
)

def Xform "Xform1" (
prepend references = @sphere.usda@
prepend references = @sphere_ext.usda@
)
{
}
Expand Down
Loading