Skip to content

Commit

Permalink
Move layer element to the right place (from texture to material).
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698497943
Change-Id: Ic693eec8aa9542a6eb628e17c40781b01b1a658a
  • Loading branch information
yuvaltassa authored and copybara-github committed Nov 20, 2024
1 parent b7283a3 commit 94f7407
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dm_control/mjcf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -915,14 +915,6 @@
<attribute name="hflip" type="keyword" valid_values="false true"/>
<attribute name="vflip" type="keyword" valid_values="false true"/>
</attributes>
<children>
<element name="layer" repeated="true">
<attributes>
<attribute name="texture" type="reference"/>
<attribute name="role" type="keyword" valid_values="rgb normal occlusion roughness metallic opacity emissive orm rgba"/>
</attributes>
</element>
</children>
</element>
<element name="hfield" repeated="true">
<attributes>
Expand Down Expand Up @@ -1003,6 +995,14 @@
<attribute name="reflectance" type="float"/>
<attribute name="rgba" type="array" array_type="float" array_size="4"/>
</attributes>
<children>
<element name="layer" repeated="true">
<attributes>
<attribute name="texture" type="reference" required="true"/>
<attribute name="role" type="keyword" valid_values="rgb normal occlusion roughness metallic opacity emissive orm rgba" required="true"/>
</attributes>
</element>
</children>
</element>
</children>
</element>
Expand Down

0 comments on commit 94f7407

Please sign in to comment.