Skip to content

Fix float number not working properly for option min/max#11211

Merged
igiannakas merged 6 commits into
OrcaSlicer:mainfrom
Noisyfox:bugfox/fuzzy-skin-point-distance
Dec 31, 2025
Merged

Fix float number not working properly for option min/max#11211
igiannakas merged 6 commits into
OrcaSlicer:mainfrom
Noisyfox:bugfox/fuzzy-skin-point-distance

Conversation

@Noisyfox

Copy link
Copy Markdown
Collaborator

Adopted from prusa3d/PrusaSlicer@f277bc8, thanks Prusa!

Also set min value of fuzzy_skin_point_distance to 0.01, because 0 will cause infinite loop & OOM.
Fix #11069

@Noisyfox Noisyfox marked this pull request as draft October 31, 2025 15:32
@Noisyfox Noisyfox force-pushed the bugfox/fuzzy-skin-point-distance branch from 1858227 to 63b7582 Compare October 31, 2025 16:05
@Noisyfox Noisyfox marked this pull request as ready for review November 1, 2025 03:33
@Noisyfox Noisyfox added bug Something isn't working QoL labels Nov 1, 2025
@igiannakas

Copy link
Copy Markdown
Collaborator

Looking good thank you! Lets merge.

@igiannakas igiannakas merged commit 69861b5 into OrcaSlicer:main Dec 31, 2025
5 checks passed
igiannakas added a commit that referenced this pull request Dec 31, 2025
igiannakas added a commit that referenced this pull request Dec 31, 2025
…1794)

Revert "Fix float number not working properly for option min/max (#11211)"

This reverts commit 69861b5.
@igiannakas

Copy link
Copy Markdown
Collaborator

Reverting as causing crash on open. Apologies, missed this as tested an older build. Need to investigate why.

igiannakas pushed a commit to igiannakas/OrcaSlicer that referenced this pull request Jan 2, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
RF47 pushed a commit to RF47/OrcaSlicer that referenced this pull request Jan 11, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
RF47 pushed a commit to RF47/OrcaSlicer that referenced this pull request Jan 11, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
RF47 pushed a commit to RF47/OrcaSlicer that referenced this pull request Jan 11, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss

Fix nil not in range
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 11, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 13, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
RF47 pushed a commit to RF47/OrcaSlicer that referenced this pull request Jan 13, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss

Fix nil not in range
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 13, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 13, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 14, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 14, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 22, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 22, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 24, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 24, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 26, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 26, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 26, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 27, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 27, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 27, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 28, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Jan 30, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 1, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 2, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 2, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 2, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 3, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 3, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 4, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 5, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 5, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 5, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 6, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
valerii-bokhan pushed a commit to valerii-bokhan/OrcaSlicer that referenced this pull request Feb 6, 2026
…11211)

* ConfigOptionDef: min/max values type are changed from INT to FLOAT.

(cherry picked from commit f277bc8)

* Fix infinite loop and crash when `fuzzy_skin_point_distance` = 0 (OrcaSlicer#11069)

* Fix Linux build issue

* Fix float comparison due to precision loss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working QoL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ACCESS_VIOLATION crash when slicing with 0 mm fuzzy skin point distance

3 participants