Skip to content

Commit

Permalink
address feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamed Sabri committed Jul 16, 2020
1 parent 87c79a6 commit 324bff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mayaUsd/ufe/UsdUndoAddNewPrimCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ UsdUndoAddNewPrimCommand::UsdUndoAddNewPrimCommand(const UsdSceneItem::Ptr& usdS
_stage = usdSceneItem->prim().GetStage();
if (_stage) {
// Append the parent path and the requested name into a full ufe path.
_newUfePath = appendToPath(ufePath, name + std::to_string(1));
_newUfePath = appendToPath(ufePath, name + 1);

// Ensure the requested name is unique.
auto newPrimName = uniqueChildName(usdSceneItem, _newUfePath);
Expand Down

0 comments on commit 324bff0

Please sign in to comment.