-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MFR_GetBrickletData: Fix resampling/pixelation errors
When loading bricklets which have too few points for the resampling or pixelation, we currently bug out or skip the bricklet depending wether it is 1D or 2D. While this can be manually worked around, this currently breaks the MFR GUI as there is no fallback for failed resampling/pixelation. We now check that we have enough points before trying the pixelation. And we also only set the resampled dimension scales when resampling worked, and also use the original wave when resampling failed. Reported-By: Nils Krane <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters