From bde0308cefb6f5d5897f0a8fedd042a9ecbea32d Mon Sep 17 00:00:00 2001 From: vhosouza Date: Thu, 10 Mar 2022 18:47:37 +0200 Subject: [PATCH] FIX: Typo when reading matrix_shape from Project --- invesalius/data/brainmesh_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/data/brainmesh_handler.py b/invesalius/data/brainmesh_handler.py index d1c80c2..71d0685 100644 --- a/invesalius/data/brainmesh_handler.py +++ b/invesalius/data/brainmesh_handler.py @@ -147,7 +147,7 @@ class Brain: def CreateTransformedVTKAffine(self): affine_transformed = self.affine.copy() - matrix_shape = tuple(self.inv_proj.Project().matrix_shape) + matrix_shape = tuple(self.inv_proj.matrix_shape) affine_transformed[1, -1] -= matrix_shape[1] return vtk_utils.numpy_to_vtkMatrix4x4(affine_transformed) -- libgit2 0.21.2