Skip to content

Commit 94f7407

Browse files
yuvaltassacopybara-github
authored andcommitted
Move layer element to the right place (from texture to material).
PiperOrigin-RevId: 698497943 Change-Id: Ic693eec8aa9542a6eb628e17c40781b01b1a658a
1 parent b7283a3 commit 94f7407

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -915,14 +915,6 @@
915915
<attribute name="hflip" type="keyword" valid_values="false true"/>
916916
<attribute name="vflip" type="keyword" valid_values="false true"/>
917917
</attributes>
918-
<children>
919-
<element name="layer" repeated="true">
920-
<attributes>
921-
<attribute name="texture" type="reference"/>
922-
<attribute name="role" type="keyword" valid_values="rgb normal occlusion roughness metallic opacity emissive orm rgba"/>
923-
</attributes>
924-
</element>
925-
</children>
926918
</element>
927919
<element name="hfield" repeated="true">
928920
<attributes>
@@ -1003,6 +995,14 @@
1003995
<attribute name="reflectance" type="float"/>
1004996
<attribute name="rgba" type="array" array_type="float" array_size="4"/>
1005997
</attributes>
998+
<children>
999+
<element name="layer" repeated="true">
1000+
<attributes>
1001+
<attribute name="texture" type="reference" required="true"/>
1002+
<attribute name="role" type="keyword" valid_values="rgb normal occlusion roughness metallic opacity emissive orm rgba" required="true"/>
1003+
</attributes>
1004+
</element>
1005+
</children>
10061006
</element>
10071007
</children>
10081008
</element>

0 commit comments

Comments
 (0)