devtools: Show actor pose animation
This commit is contained in:
@@ -146,12 +146,12 @@ class DevToolsOverlay extends Overlay
|
||||
{
|
||||
if (p != local)
|
||||
{
|
||||
String text = p.getName() + " (A: " + p.getAnimation() + ") (G: " + p.getGraphic() + ")";
|
||||
String text = p.getName() + " (A: " + p.getAnimation() + ") (P: " + p.getPoseAnimation() + ") (G: " + p.getGraphic() + ")";
|
||||
OverlayUtil.renderActorOverlay(graphics, p, text, BLUE);
|
||||
}
|
||||
}
|
||||
|
||||
String text = local.getName() + " (A: " + local.getAnimation() + ") (G: " + local.getGraphic() + ")";
|
||||
String text = local.getName() + " (A: " + local.getAnimation() + ") (P: " + local.getPoseAnimation() + ") (G: " + local.getGraphic() + ")";
|
||||
OverlayUtil.renderActorOverlay(graphics, local, text, CYAN);
|
||||
renderPlayerWireframe(graphics, local, CYAN);
|
||||
}
|
||||
@@ -176,12 +176,8 @@ class DevToolsOverlay extends Overlay
|
||||
}
|
||||
}
|
||||
|
||||
String text = String.format("%s (ID: %d) (A: %d) (G: %d)",
|
||||
composition.getName(),
|
||||
composition.getId(),
|
||||
npc.getAnimation(),
|
||||
npc.getGraphic());
|
||||
|
||||
String text = composition.getName() + " (ID:" + composition.getId() + ")" +
|
||||
" (A: " + npc.getAnimation() + ") (P: " + npc.getPoseAnimation() + ") (G: " + npc.getGraphic() + ")";
|
||||
OverlayUtil.renderActorOverlay(graphics, npc, text, color);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user