From 487412c20ffd022157977a458ad8f3715d752b30 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Fri, 6 Dec 2024 11:14:35 +0100 Subject: [PATCH] codegen harder --- rerun_py/rerun_sdk/rerun/blueprint/views/spatial3d_view.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rerun_py/rerun_sdk/rerun/blueprint/views/spatial3d_view.py b/rerun_py/rerun_sdk/rerun/blueprint/views/spatial3d_view.py index 9f157eb51b9a..0fac6a2391d2 100644 --- a/rerun_py/rerun_sdk/rerun/blueprint/views/spatial3d_view.py +++ b/rerun_py/rerun_sdk/rerun/blueprint/views/spatial3d_view.py @@ -50,7 +50,7 @@ class Spatial3DView(SpaceView): visible=True, # The grid is enabled by default, but you can hide it with this property. spacing=0.1, # Makes the grid more fine-grained. # By default, the plane is inferred from view coordinates setup, but you can set arbitrary planes. - plane=rr.components.Plane3D((0, 0, 1), -5.0), + plane=rr.components.Plane3D.XY.with_distance(-5.0), stroke_width=2.0, # Makes the grid lines twice as thick as usual. color=[255, 255, 255, 128], # Colors the grid a half-transparent white. ),