Skip to content

Commit

Permalink
Fix bone index used instead of node index in skeleton debug display mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Jan 7, 2025
1 parent 9ff3382 commit b7aca7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/Instance/Mesh/MeshInstance.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ namespace vg::renderer

float3 boxSize = float3(0.01f, 0.01f, 0.01f);

if (skeleton->IsNodeSelected(j))
if (skeleton->IsNodeSelected(index))
{
color |= 0xCFCFCFCF;
boxSize *= 1.5f;
Expand Down

0 comments on commit b7aca7a

Please sign in to comment.