mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing regions.
This commit is contained in:
parent
2964421618
commit
db2d78ff21
21 changed files with 61 additions and 44 deletions
|
@ -2054,7 +2054,7 @@ pointT *qh_voronoi_center(qhT *qh, int dim, setT *points) {
|
|||
factor= qh_divzero(0.5, det, qh->MINdenom, &infinite);
|
||||
if (infinite) {
|
||||
for (k=dim; k--; )
|
||||
center[k]= qh_INFINITE;
|
||||
center[k]= (float)qh_INFINITE;
|
||||
if (qh->IStracing)
|
||||
qh_printpoints(qh, qh->ferr, "qh_voronoi_center: at infinity for ", simplex);
|
||||
}else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue