From 3fe8960ee3388a1281d896b2415e9b7fc4b027a2 Mon Sep 17 00:00:00 2001 From: George O'Neill Date: Fri, 13 Oct 2023 14:01:40 +0200 Subject: [PATCH] tests fixed --- tests/model/test_transformations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/model/test_transformations.py b/tests/model/test_transformations.py index 3c62e5a00..f6ac252ea 100644 --- a/tests/model/test_transformations.py +++ b/tests/model/test_transformations.py @@ -20,6 +20,7 @@ def create_transform( type="translation", values=Dataset(parent_node=None, name="", values=None, type=ValueTypes.DOUBLE), units="m", + offset_vector=QVector3D(0., 0., 0.) ): translation = Transformation( name=name, @@ -30,6 +31,7 @@ def create_transform( ) translation.vector = vector + translation.offset_vector = offset_vector translation.transform_type = type translation.ui_value = ui_value translation.units = units