Skip to content

Commit 023ef63

Browse files
authored
Merge pull request #1097 from HEXRD/joelvbernier-cropping-patch
Update llnl_import_tool_dialog.py
2 parents 6102f90 + 8eb68ff commit 023ef63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hexrd/ui/llnl_import_tool_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def completed(self):
445445
# first need the zxz Euler angles from the panel rotation matrix.
446446
*zx, z = angles_from_rmat_zxz(panel.rmat)
447447
# convert updated zxz angles to rmat
448-
tilts = [*zx, (z + float(self.edited_images[det]['tilt']))]
448+
tilts = [*zx, (z - float(self.edited_images[det]['tilt']))]
449449
rmat_updated = make_rmat_euler(tilts, 'zxz', extrinsic=False)
450450
# convert to angle-axis parameters
451451
rang, raxs = angleAxisOfRotMat(rmat_updated)

0 commit comments

Comments
 (0)