Disable debugdraw in release

This commit is contained in:
Marco 2025-08-12 14:37:48 +02:00
commit 34a0e8e380
8 changed files with 70 additions and 68 deletions

View file

@ -124,8 +124,9 @@ public partial class ItemMarker3D : PreviewMarker3D
{
if (!Engine.IsEditorHint()) return;
#if !DISABLE_DD3D
DebugDraw3D.DrawBox(this.GlobalPosition - _boxSize / 2, Quaternion.Identity, _boxSize, Colors.Blue);
#endif
//DebugDraw3D.DrawSphere(this.GlobalPosition, 0.1f, Colors.Green);
}
}