From 2613e3342d30da7c95195ad88722c3997178e025 Mon Sep 17 00:00:00 2001 From: Rafael Wiltz Date: Tue, 25 Nov 2025 20:32:42 -0500 Subject: [PATCH] Import the proper module for get_stage_id --- source/isaaclab/config/extension.toml | 2 +- source/isaaclab/docs/CHANGELOG.rst | 8 ++++++++ .../isaaclab/isaaclab/devices/openxr/xr_anchor_utils.py | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index 48a598cd23f..5720239e19c 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "0.48.6" +version = "0.48.7" # Description title = "Isaac Lab framework for Robot Learning" diff --git a/source/isaaclab/docs/CHANGELOG.rst b/source/isaaclab/docs/CHANGELOG.rst index 2e5a44188ce..00e30fc2561 100644 --- a/source/isaaclab/docs/CHANGELOG.rst +++ b/source/isaaclab/docs/CHANGELOG.rst @@ -1,6 +1,14 @@ Changelog --------- +0.48.7 (2025-11-25) +~~~~~~~~~~~~~~~~~~~ + +Changed +^^^^^^^ + +* Changed import from ``isaaclab.sim.utils`` to ``isaaclab.sim.utils.stage`` to properly propagate the Isaac Sim stage context. + 0.48.6 (2025-11-18) ~~~~~~~~~~~~~~~~~~~ diff --git a/source/isaaclab/isaaclab/devices/openxr/xr_anchor_utils.py b/source/isaaclab/isaaclab/devices/openxr/xr_anchor_utils.py index bb2d1e1a185..a80b9ff5391 100644 --- a/source/isaaclab/isaaclab/devices/openxr/xr_anchor_utils.py +++ b/source/isaaclab/isaaclab/devices/openxr/xr_anchor_utils.py @@ -18,8 +18,8 @@ # import logger logger = logging.getLogger(__name__) -import isaaclab.sim as sim_utils from isaaclab.sim import SimulationContext +from isaaclab.sim.utils.stage import get_current_stage_id from .xr_cfg import XrAnchorRotationMode @@ -72,7 +72,7 @@ def sync_headset_to_anchor(self): if self._xr_cfg.anchor_prim_path is None: return - stage_id = sim_utils.get_current_stage_id() + stage_id = get_current_stage_id() rt_stage = usdrt.Usd.Stage.Attach(stage_id) if rt_stage is None: return