Skip to content

Commit c6dd44b

Browse files
committed
Make sure we are not transforming detector images
Signed-off-by: Brianna Major <brianna.major@kitware.com>
1 parent 1a7ef1e commit c6dd44b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hexrdgui/llnl_import_tool_dialog.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
from hexrdgui.constants import (
2929
FIDDLE_FRAMES,
3030
FIDDLE_HDF5_PATH,
31+
UI_TRANS_INDEX_NONE,
3132
UI_TRANS_INDEX_ROTATE_90,
3233
YAML_EXTS,
3334
LLNLTransform,
@@ -464,8 +465,11 @@ def load_detector_images(self):
464465
)
465466
if not selected_file:
466467
return
467-
468468
HexrdConfig().set_images_dir(selected_file)
469+
470+
# Make sure we're not transforming detector images
471+
HexrdConfig().load_panel_state['trans'] = [UI_TRANS_INDEX_NONE]
472+
469473
# Needed to identify current image, regardless of image load path
470474
self.current_image_selection = self.detector
471475

0 commit comments

Comments
 (0)