MCPcopy Create free account
hub / github.com/BeingBeyond/BeTTER / _remove_prim_subtree

Function _remove_prim_subtree

tools/render/render_episode.py:848–852  ·  view source on GitHub ↗
(stage: Any, prim_path: str)

Source from the content-addressed store, hash-verified

846
847
848def _remove_prim_subtree(stage: Any, prim_path: str) -> None:
849 prim = stage.GetPrimAtPath(prim_path)
850 if prim is None or (hasattr(prim, "IsValid") and not prim.IsValid()):
851 return
852 stage.RemovePrim(prim_path)
853
854
855def _ensure_xform(stage: Any, prim_path: str) -> None:

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected