Add option to show bounds of the animated model in Editor preview

This commit is contained in:
Wojtek Figat
2021-06-01 10:36:13 +02:00
parent a730c3b1af
commit 1789e879bf
3 changed files with 34 additions and 5 deletions

View File

@@ -617,7 +617,7 @@ void AnimatedModel::DrawGeneric(RenderContext& renderContext)
void AnimatedModel::OnDebugDrawSelected()
{
DEBUG_DRAW_WIRE_BOX(_box, Color::Violet * 0.8f, 0, true);
DEBUG_DRAW_WIRE_BOX(_box, Color::Violet.RGBMultiplied(0.8f), 0, true);
// Base
ModelInstanceActor::OnDebugDrawSelected();