diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 9899632b89c..a90ed0badc3 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -166,6 +166,7 @@ Guidelines for modifications: * David Leon * Song Yi * Weihua Zhang +* Tsz Ki GAO ## Acknowledgements diff --git a/source/isaaclab/isaaclab/assets/rigid_object_collection/rigid_object_collection.py b/source/isaaclab/isaaclab/assets/rigid_object_collection/rigid_object_collection.py index ff223d7c5bc..3aded6142be 100644 --- a/source/isaaclab/isaaclab/assets/rigid_object_collection/rigid_object_collection.py +++ b/source/isaaclab/isaaclab/assets/rigid_object_collection/rigid_object_collection.py @@ -591,6 +591,8 @@ def reshape_data_to_view(self, data: torch.Tensor) -> torch.Tensor: """ def _initialize_impl(self): + # clear object names list to prevent double counting on re-initialization + self._object_names_list.clear() # obtain global simulation view self._physics_sim_view = SimulationManager.get_physics_sim_view() root_prim_path_exprs = []