Skip to content

Commit 13714cd

Browse files
committed
Remove visualization of photoscan upon loading (#143)
1 parent 44e99ec commit 13714cd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

OpenLIFUData/OpenLIFUData.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -907,14 +907,8 @@ def onLoadPhotoscanPressed(self, checked:bool) -> None:
907907
if not returncode:
908908
return False
909909

910-
newly_loaded_photoscan = self.logic.load_photoscan_from_file(model_or_json_filepath, texture_filepath)
910+
self.logic.load_photoscan_from_file(model_or_json_filepath, texture_filepath)
911911
self.updateLoadedObjectsView() # Call function here to update view based on node attributes (for texture volume)
912-
913-
# Visualize textured photoscan. NOTE: This functionality is temporary and
914-
# will be moved to the transducer tracking module once the functionality to
915-
# preview photoscans has been added.
916-
if newly_loaded_photoscan:
917-
newly_loaded_photoscan.show_model_with_texture()
918912

919913
def updateLoadedObjectsView(self):
920914
self.loadedObjectsItemModel.removeRows(0,self.loadedObjectsItemModel.rowCount())

0 commit comments

Comments
 (0)