From 20028c40a72e4e9695f205f8a55ac277bd1898ed Mon Sep 17 00:00:00 2001 From: Bartok9 Date: Sat, 25 Jul 2026 05:22:53 -0400 Subject: [PATCH] fix(python): use list-shaped defaults for mesh vertex buffers MeshPositionVertexBuffersResponse.vertices/indices are RPC lists, not floats. Default to None instead of 0.0 so client code does not treat meshes as scalars. Signed-off-by: Bartok9 --- PythonClient/airsim/types.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/PythonClient/airsim/types.py b/PythonClient/airsim/types.py index 7aef005549..1cede8ed64 100644 --- a/PythonClient/airsim/types.py +++ b/PythonClient/airsim/types.py @@ -575,6 +575,7 @@ def to_lists(self): class MeshPositionVertexBuffersResponse(MsgpackMixin): position = Vector3r() orientation = Quaternionr() - vertices = 0.0 - indices = 0.0 + # Mesh buffers arrive as lists from RPC; 0.0 was a misleading scalar default. + vertices = None + indices = None name = ''