Skip to content

Commit 068fe6b

Browse files
committed
Do not restate other functions' documentation
1 parent ee173e9 commit 068fe6b

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1801,10 +1801,9 @@ def cleanup(self, render_data: OVRTXRenderData | None) -> None:
18011801

18021802
def close(self) -> None:
18031803
"""Release the shared stage state. See :meth:`~isaaclab.renderers.base_renderer.BaseRenderer.close`."""
1804-
# Drain in-flight renders before either backend releases the renderer that owns them. Each
1805-
# queued frame delivers into the buffers it was submitted with. Drain failures are
1806-
# re-raised only after the backend release, so a bad final frame cannot leak resources
1807-
# and cannot exit the run silently either.
1804+
# Drain in-flight renders before either backend releases the renderer that owns them.
1805+
# Drain failures are re-raised only after the backend release, so a bad final frame
1806+
# cannot leak resources and cannot exit the run silently either.
18081807
drain_errors = self._strategy.cleanup()
18091808
if self._use_ovstage:
18101809
self._close_ovstage()

source/isaaclab_ov/isaaclab_ov/renderers/ovrtx_renderer_strategies.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,7 @@ class _AsyncRenderStrategy(_RenderStrategy):
267267

268268
@classmethod
269269
def try_create(cls, cfg: OVRTXRendererCfg) -> _AsyncRenderStrategy | None:
270-
"""Create the strategy when async rendering is enabled. Return ``None`` otherwise.
271-
272-
:func:`~isaaclab.renderers.resolve_async_rendering_enabled` reads the flag from the
273-
configuration and the environment variable.
274-
"""
270+
"""Create the strategy when async rendering is enabled. Return ``None`` otherwise."""
275271
return cls() if resolve_async_rendering_enabled(cfg) else None
276272

277273
def __init__(self) -> None:
@@ -305,10 +301,7 @@ def _enqueue_render_op(
305301
return entry
306302

307303
def initialize(self, num_envs: int) -> None:
308-
"""Reset staging slots and record the camera count for future slot builds.
309-
310-
See :meth:`_RenderStrategy.initialize`.
311-
"""
304+
"""Reset the staging slots for a new scene. See :meth:`_RenderStrategy.initialize`."""
312305
self._reset_slots(num_envs)
313306

314307
def _reset_slots(self, num_envs: int) -> None:

0 commit comments

Comments
 (0)