Skip to content

Commit

Permalink
fix k3d test
Browse files Browse the repository at this point in the history
  • Loading branch information
CagtayFabry committed Dec 11, 2023
1 parent 08c8546 commit 8b5f6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weldx_widgets/visualization/csm_k3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8b5f6df

Please sign in to comment.