Skip to content

Commit 7a938bd

Browse files
nimrod-gileadicopybara-github
authored andcommitted
Mark "count" attribute on "composite" as non-required.
For cable composites, either vertex or count should be specified. Fixes #439. PiperOrigin-RevId: 592525932 Change-Id: I3da34784547df8a8c6064b47b6b8f03d5ce3b9b0
1 parent 5fe49a4 commit 7a938bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dm_control/mjcf/schema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,7 +1157,7 @@
11571157
<attributes>
11581158
<attribute name="prefix" type="identifier"/>
11591159
<attribute name="type" type="keyword" valid_values="particle grid cable rope loop cloth box cylinder ellipsoid" required="true"/>
1160-
<attribute name="count" type="array" array_type="int" array_size="3" required="true"/>
1160+
<attribute name="count" type="array" array_type="int" array_size="3"/>
11611161
<attribute name="spacing" type="float" required="false"/>
11621162
<attribute name="offset" type="array" array_type="float" array_size="3"/>
11631163
<attribute name="flatinertia" type="float"/>
@@ -1542,7 +1542,7 @@
15421542
<attributes>
15431543
<attribute name="prefix" type="identifier"/>
15441544
<attribute name="type" type="keyword" valid_values="particle grid cable rope loop cloth box cylinder ellipsoid" required="true"/>
1545-
<attribute name="count" type="array" array_type="int" array_size="3" required="true"/>
1545+
<attribute name="count" type="array" array_type="int" array_size="3"/>
15461546
<attribute name="spacing" type="float" required="false"/>
15471547
<attribute name="offset" type="array" array_type="float" array_size="3"/>
15481548
<attribute name="flatinertia" type="float"/>

0 commit comments

Comments
 (0)