Skip to content

Commit

Permalink
fix ui bug - token list editors with same id
Browse files Browse the repository at this point in the history
  • Loading branch information
cpichard committed Mar 11, 2023
1 parent 944074d commit cd9129f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/widgets/UsdPrimEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,9 @@ void DrawUsdPrimProperties(UsdPrim &prim, UsdTimeCode currentTime) {

ImGui::TableSetColumnIndex(2);
ImGui::PushItemWidth(-FLT_MIN); // Right align and get rid of widget label
ImGui::PushID(attribute.GetPath().GetHash());
DrawAttributeValueAtTime(attribute, currentTime);
ImGui::PopID();
ImGui::PopItemWidth();
// TODO: in the hint ???
// DrawAttributeTypeInfo(attribute);
Expand Down

0 comments on commit cd9129f

Please sign in to comment.