Commit bde0308cefb6f5d5897f0a8fedd042a9ecbea32d

Authored by vhosouza
1 parent ccffc459
Exists in master

FIX: Typo when reading matrix_shape from Project

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/brainmesh_handler.py
... ... @@ -147,7 +147,7 @@ class Brain:
147 147  
148 148 def CreateTransformedVTKAffine(self):
149 149 affine_transformed = self.affine.copy()
150   - matrix_shape = tuple(self.inv_proj.Project().matrix_shape)
  150 + matrix_shape = tuple(self.inv_proj.matrix_shape)
151 151 affine_transformed[1, -1] -= matrix_shape[1]
152 152  
153 153 return vtk_utils.numpy_to_vtkMatrix4x4(affine_transformed)
... ...