Skip to content

Commit 3adfe8c

Browse files
DeepMindcopybara-github
authored andcommitted
Provide a Blender plugin to export models as Mujoco MJCF XML files.
PiperOrigin-RevId: 605639317 Change-Id: Ieffc76a9fc5a369f4652c526d5a6cf2207392ec1
1 parent 895d25f commit 3adfe8c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dm_control/blender/mujoco_exporter/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414
# ============================================================================
1515

16-
"""Blender 3.3 plugin for exporting models to MuJoCo native format."""
16+
"""Blender 3.4 plugin for exporting models to MuJoCo native format."""
1717

1818
import contextlib
1919
import os
@@ -29,7 +29,7 @@
2929

3030
bl_info = {
3131
'name': 'Export MuJoCo',
32-
'author': 'Piotr Trochim',
32+
'author': 'The dm_control authors',
3333
'version': (2, 0),
3434
'blender': (3, 3, 1),
3535
'location': 'File > Export > MuJoCo',
@@ -96,7 +96,7 @@ class ExportMjcf(bpy.types.Operator, ExportHelper):
9696
default=False,
9797
)
9898

99-
def _export_mjcf(self, context: bpy.types.Context) -> str:
99+
def _export_mjcf(self, context: bpy.types.Context) -> None:
100100
"""Converts a Blender scene to Mujoco XML format."""
101101
# Create a new XML document
102102
xml_doc = minidom.Document()

0 commit comments

Comments
 (0)