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);