Skip to content

Commit bfc27f9

Browse files
kbayescopybara-github
authored andcommitted
Add content_type to hfield and texture schema.
PiperOrigin-RevId: 764251713 Change-Id: I52afdcc6924f883c3153e56945024bcb62571c81
1 parent 676f6bd commit bfc27f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dm_control/mjcf/schema.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -908,6 +908,7 @@
908908
<attributes>
909909
<attribute name="name" type="identifier"/>
910910
<attribute name="type" type="keyword" valid_values="2d cube skybox"/>
911+
<attribute name="content_type" type="string" valid_values="image/png image/vnd.mujoco.texture"/>
911912
<attribute name="colorspace" type="keyword" valid_values="auto linear sRGB"/>
912913
<attribute name="file" type="file" path_namespace="texture"/>
913914
<attribute name="gridsize" type="array" array_type="int" array_size="2"/>
@@ -933,6 +934,7 @@
933934
<element name="hfield" repeated="true">
934935
<attributes>
935936
<attribute name="name" type="identifier"/>
937+
<attribute name="content_type" type="string" valid_values="image/png image/vnd.mujoco.hfield"/>
936938
<attribute name="file" type="file" path_namespace="mesh"/>
937939
<attribute name="nrow" type="int"/>
938940
<attribute name="ncol" type="int"/>

0 commit comments

Comments
 (0)