Closed tlhintoq closed 1 month ago
I copied exactly your settings on your file, but does not raise for me. Can you export your operation settings and attach here the uvtop file?
@sn4k3 You lost me. "operation settings" and "uvtop file"? Let me know what you want and were I find it, and I'll be happy to include it
On tool dialog, bottom left, click the button and export the settings. Attach here the file as txt.
I'll work on that.
But I think I might have found the cause...
The last layer is an empty layer. When the dialog comes up UVTools automatically discounts this layer and doesn't use it.
If you then set it to all layers
and then raise first layer to 1 instead of 0 like I described its still trying to corrode the empty layer - and errors.
If its a known empty layer then it shouldn't try to corrode it. Or maybe make the user remove empty layers before performing certain functions.
Another observation that will cause it to happen: Perform a corrode Then undo Then try to do it again It seems to fail every-other-time. Kinda feels like something isn't getting cleared, purged.
None of that attempts trigger the problem to me. The file you provided have no empty layer, but I created one on top, still passes...
I know there is a bug on Undo/Redo that does not revert the exact change but still I can not reproduce it on your file.
Hmmm... Well... If you can't reproduce it then you can't. Its pretty common for me. Is there something else I can get you? Registry files or config for the application?
The trace is not useful as it show the wrong line. The best bet to catch the error is by attach visual studio to debug it.
When problem happens you can also screenshot the Log tab in UVtools, to see what operations were ran. I tried every your combination and still can't reproduce, in either stable or my current dev both is working. In fact I fixed this symptom before with ROI some releases ago, I have no clue where is it leaking because this error happen with a empty ROI or a out of bounds ROI. Since function return full layer size when a empty roi is detected i'm clueless in this one.
Try new version and report back
Try new version and report back
Half a dozen jobs yesterday. Similar in size. Exact same product (different personaliztion). And totally different items that get the same treatment. No crashes. I don't know what you found, but I think it can be called 'fixed'. Worst case is if it happens again, then a new ticket.
Thank you SO MUCH for handling that!
I did nothing other than put a check to not go further when find a empty layer but that check was also present later on. Other than that libraries have been updated. Still I'm not confident that the problem is truly gone.
System
Printer and Slicer
Description of the bug
How to reproduce
File sliced from Lychee Select![2024-07-24_20-27-34](https://github.com/user-attachments/assets/7e000307-d1f5-4d71-a7d6-80cb038ff95c)
Pixel Arithmatic
- all layers, then change first layer to 1 instead of 0 GoFiles
https://drive.google.com/drive/folders/1OTiMN7uHQ7uwOQytJx8_mgt_bE9vCK0b?usp=sharing