Search - User list
Full Version: Configure Layer LOP save .usd with sublayers
Root » Solaris and Karma » Configure Layer LOP save .usd with sublayers
Cicuta
Hello!

I am using a Configure Layer lop to save a layer to disk when a layer downstream is saved from a USD ROP lop. The issue I am facing is that any existing sublayers from disk in that point are not being sublayered into the written layer in the Configure Layer lop, but instead to the last layer that is written directly from the USD ROP.

Something like this:
(sublayer1, sublayer2)
          |
  (Configure Layer)   ------>  layer1.usda (has no sublayers)
          |
     (sublayer3)
          |
      (USD ROP)       ------>  layer2.usda (subLayers = [@layer1@, @sublayer1@, @sublayer2@, @sublayer3@])

What I want to achieve:
(sublayer1, sublayer2)
          |
  (Configure Layer)   ------>  layer1.usda (subLayers = [@sublayer1@, @sublayer2@])
          |
     (sublayer3)
          |
      (USD ROP)       ------>  layer2.usda (subLayers = [@layer1@, @sublayer3@])

Is this posible to achieve in any way with the only trigger of USD ROP? Is there an alternatve?

Thanks!
Cicuta
Got an answer elsewhere.

To solve this, the sublayers in the sublayer LOP nodes before the configure stage need to have the "Edit Root Layer" parm turned off. Hope it's useful for anyone facing this.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB