Commit c899bff46de1c5bf90a10016169f19f4690069cb
1 parent
c2974994
Exists in
master
and in
5 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,7 +27,7 @@ import wx.lib.pubsub as ps | ||
27 | import constants as const | 27 | import constants as const |
28 | import project as prj | 28 | import project as prj |
29 | import slice_ | 29 | import slice_ |
30 | -import imagedata_utils | 30 | +import converters |
31 | from data import vtk_utils | 31 | from data import vtk_utils |
32 | from vtk.util import numpy_support | 32 | from vtk.util import numpy_support |
33 | import session as ses | 33 | import session as ses |
@@ -470,7 +470,7 @@ class Volume(): | @@ -470,7 +470,7 @@ class Volume(): | ||
470 | orientation = 'AXIAL' | 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 | self.image = image | 474 | self.image = image |
475 | 475 | ||
476 | 476 |