Commit c899bff46de1c5bf90a10016169f19f4690069cb
1 parent
c2974994
Exists in
master
and in
67 other branches
FIX: Fixed problem load raycasting volume, occurred after the creation of converters
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
invesalius/data/volume.py
| ... | ... | @@ -27,7 +27,7 @@ import wx.lib.pubsub as ps |
| 27 | 27 | import constants as const |
| 28 | 28 | import project as prj |
| 29 | 29 | import slice_ |
| 30 | -import imagedata_utils | |
| 30 | +import converters | |
| 31 | 31 | from data import vtk_utils |
| 32 | 32 | from vtk.util import numpy_support |
| 33 | 33 | import session as ses |
| ... | ... | @@ -470,7 +470,7 @@ class Volume(): |
| 470 | 470 | orientation = 'AXIAL' |
| 471 | 471 | |
| 472 | 472 | |
| 473 | - image = imagedata_utils.to_vtk(n_array, spacing, slice_number, orientation) | |
| 473 | + image = converters.to_vtk(n_array, spacing, slice_number, orientation) | |
| 474 | 474 | self.image = image |
| 475 | 475 | |
| 476 | 476 | ... | ... |