Skip to content

Commit

Permalink
Addressed code review feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppt-adsk committed Nov 25, 2024
1 parent 8246fdd commit 43d41c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaHydra/hydraExtensions/sceneIndex/registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 43d41c9

Please sign in to comment.