Skip to content

Commit 45ca595

Browse files
authored
Add missing omni.kit.scene_view dependency for XR camera PiP (#7091)
# Description XR camera picture-in-picture silently disables itself with ModuleNotFoundError: No module named 'omni.kit.scene_view' because the isaaclab.python.xr.openxr app profiles never declare the omni.kit.scene_view.xr / omni.kit.scene_view.xr_utils extensions. Those extensions ship on disk with Isaac Sim but aren't pulled in by any currently-declared dependency, so Kit's extension manager never adds them to sys.path, and camera_feed.py's lazy import of the SceneUI presenter fails and PiP degrades silently. This adds both extensions to [dependencies] in apps/isaaclab.python.xr.openxr.kit and apps/isaaclab.python.xr.openxr.headless.kit so PiP loads correctly. Fixes # (issue) ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there
1 parent ca23aca commit 45ca595

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/isaaclab.python.xr.openxr.kit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ xr.skipInputDeviceUSDWrites = true
5555
"omni.kit.xr.system.openxr" = {}
5656
"omni.kit.xr.ui.window.profile" = {}
5757

58+
# Required for XR camera picture-in-picture (Kit SceneUI)
59+
"omni.kit.scene_view.xr" = {}
60+
"omni.kit.scene_view.xr_utils" = {}
61+
5862
[settings.isaaclab]
5963
# This is used to check that this experience file is loaded when using cameras
6064
cameras_enabled = true

0 commit comments

Comments
 (0)