From eae7ab07b808285b9ebb94069f9448271889ab9a Mon Sep 17 00:00:00 2001 From: LTYniubi <68137801+LTYniubi@users.noreply.github.com> Date: Wed, 17 Mar 2021 01:00:07 +1100 Subject: [PATCH] Revert "fix xml object naming bug (#150)" This reverts commit 9d4eb62d4d20bf21fa396097f69c3bab3fafa98b. --- robosuite/models/objects/objects.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/robosuite/models/objects/objects.py b/robosuite/models/objects/objects.py index e55e6fc467..d95d58cb47 100644 --- a/robosuite/models/objects/objects.py +++ b/robosuite/models/objects/objects.py @@ -275,10 +275,9 @@ def get_joint_attrib_template(): } -class MujocoXMLObject(MujocoObject, MujocoXML): +class MujocoXMLObject(MujocoXML, MujocoObject): """ - MujocoObjects that are loaded from xml files (by default, inherit all properties (e.g.: name) - from MujocoObject class first!) + MujocoObjects that are loaded from xml files Args: fname (str): XML File path