From 8b5f6dfc3d88be807edf26bf677bee0b11ada57f Mon Sep 17 00:00:00 2001 From: Cagtay Fabry <43667554+CagtayFabry@users.noreply.github.com> Date: Mon, 11 Dec 2023 21:20:15 +0100 Subject: [PATCH] fix k3d test --- weldx_widgets/visualization/csm_k3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weldx_widgets/visualization/csm_k3d.py b/weldx_widgets/visualization/csm_k3d.py index a6b86b4..87575f3 100644 --- a/weldx_widgets/visualization/csm_k3d.py +++ b/weldx_widgets/visualization/csm_k3d.py @@ -198,7 +198,7 @@ def _update_positions(self, coordinates: pint.Quantity, orientation: np.ndarray) orientation : The new orientation """ - self._vectors.origins = [coordinates for _ in range(3)] + self._vectors.origins = [coordinates.to(_DL).m for _ in range(3)] self._vectors.vectors = orientation.transpose() * self._vector_scale self.origin.model_matrix = _create_model_matrix(coordinates, orientation) if self._label is not None: