Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Changed
^^^^^^^

* Changed :class:`~isaaclab_ov.renderers.OVRTXRenderer` to suppress the OVRTX deprecation warnings
emitted for the legacy stage API. Isaac Lab still drives that API until the ovstage path becomes
the default, so the warnings were noise no user of this renderer could act on. The option is set
only when the installed OVRTX build exposes it, so older wheels are unaffected.
8 changes: 8 additions & 0 deletions source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,14 @@ def __init__(self, cfg: OVRTXRendererCfg):
read_gpu_transforms=_read_gpu_transforms_enabled(),
keep_system_alive=True,
)
# Isaac Lab still drives ovrtx's legacy stage API until the ovstage path is the default, so
# its deprecation warnings are noise no user of this renderer can act on. Set after
# construction because ``RendererConfig`` is a plain dataclass and wheels predating the
# option would reject it as an unexpected keyword argument.
# TODO: Remove this once the ovstage path is the default and the legacy stage API is removed.
if hasattr(OVRTX_CONFIG, "suppress_deprecation_warnings"):
OVRTX_CONFIG.suppress_deprecation_warnings = True

self._renderer = Renderer(OVRTX_CONFIG)
if not self._renderer:
raise RuntimeError(
Expand Down
Loading