From 43d41c956e10b49e7c62c26b765ab877bd95f7f7 Mon Sep 17 00:00:00 2001 From: Pierre Tremblay Date: Mon, 25 Nov 2024 09:44:31 -0500 Subject: [PATCH] Addressed code review feedback. --- lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp b/lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp index 8fb6914ab..a658add68 100644 --- a/lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp +++ b/lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp @@ -162,7 +162,7 @@ class PathInterfaceSceneIndex : public Fvp::PathInterfaceSceneIndexBase instanceSelection = {instancerPath, prototypeIndex, {instanceSchema.GetInstanceIndex()->GetTypedValue(0)}}; } - // SdfPath components cannot be numeric, as happens with point instance selections. + // SdfPath components cannot be numeric. This happens with point instance selections. auto targetChildPath = ((iComponent == lastComponentIndex) && lastComponentIsNumeric) ? SdfPath() : primPath.AppendChild(TfToken(secondSegment.components()[iComponent].string())); auto actualChildPaths = GetInputSceneIndex()->GetChildPrimPaths(primPath);