From b6faf777ebad7a5dcc58e537544f3c2363c31e3b Mon Sep 17 00:00:00 2001 From: pixar-oss Date: Fri, 2 Feb 2024 20:04:46 -0800 Subject: [PATCH] Updating doc stage.Traverse() comments regarding PrimRange Fixes #222 (Internal change: 2314591) --- pxr/usd/usd/stage.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pxr/usd/usd/stage.h b/pxr/usd/usd/stage.h index 9a03f47522..a1d0a991fe 100644 --- a/pxr/usd/usd/stage.h +++ b/pxr/usd/usd/stage.h @@ -869,6 +869,10 @@ class UsdStage : public TfRefBase, public TfWeakBase { /// If either a pre-and-post-order traversal or a traversal rooted at a /// particular prim is desired, construct a UsdPrimRange directly. /// + /// You'll need to use the returned UsdPrimRange's iterator to perform + /// actions such as pruning subtrees. See the "Using Usd.PrimRange in + /// python" section in UsdPrimRange for more details and examples. + /// /// This is equivalent to UsdPrimRange::Stage() . USD_API UsdPrimRange Traverse();