Skip to content

Commit

Permalink
fix: ApplyBigwarpPlugin NPE when current transform does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
bogovicj committed Oct 10, 2024
1 parent cb6298a commit 48d6008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/bdv/ij/ApplyBigwarpPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -1205,7 +1205,7 @@ public static <T> List<ImagePlus> apply(
{
final SourceAndConverter< T > movingSource = bwData.getMovingSource( i );
final WarpedSource<?> ws = ((WarpedSource<?>)(movingSource.getSpimSource()));
if (ws.getTransform() == null) {
if (ws.getTransform() == null && invXfm != null ) {
ws.updateTransform(invXfm);
ws.setIsTransformed(true);
}
Expand Down

0 comments on commit 48d6008

Please sign in to comment.