Skip to content

Commit

Permalink
add repro scene for PR 195.
Browse files Browse the repository at this point in the history
  • Loading branch information
syoyo committed Oct 21, 2024
1 parent fe15123 commit fb66ca5
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/usda/composition/issue-195-ref.usda
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#usda 1.0

( defaultPrim = "a" )

def Xform "a"
(
kind = "component"
assetInfo = {
asset identifier = @assets/Refridgerator/Refridgerator.usd@
string name = "Refridgerator"
}
#payload = @./Refridgerator_payload.usd@</Refridgerator>
variants = {
string modelingVariant = "Decorated"
}
prepend variantSets = ["modelingVariant"]
)
{

}

19 changes: 19 additions & 0 deletions tests/usda/composition/references-prepend-195.usda
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#usda 1.0

( defaultPrim = "a"

"""
repro scene for https://github.com/lighttransport/tinyusdz/pull/195
Issue 195: base properties(e.g. 'HelloWorld') disappear after `--flatten`.
"""
)

def "a"
(
prepend references = @./issue-195-ref.usda@
)
{
string HelloWorld = "Hello World"
double3 xformOp:translate = (259.9341506958008, 95.84612274169922, -0.5277154445648193)
uniform token[] xformOpOrder = ["xformOp:translate"]
}

0 comments on commit fb66ca5

Please sign in to comment.