Skip to content

Commit

Permalink
fix(stackSync): Don't throw NPE if options is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
wayfarer3130 committed Sep 25, 2023
1 parent d0d2fac commit e47518d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default async function stackImageSyncCallback(
const frameOfReferenceUID2 = tViewport.getFrameOfReferenceUID();
if (
frameOfReferenceUID1 === frameOfReferenceUID2 &&
options.useInitialPosition !== false
options?.useInitialPosition !== false
) {
registrationMatrixMat4 = mat4.identity(mat4.create());
} else {
Expand Down

0 comments on commit e47518d

Please sign in to comment.