mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00: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:
@@ -532,7 +532,7 @@ void stl_remove_unconnected_facets(stl_file *stl)
|
||||
assert(false);
|
||||
}
|
||||
|
||||
if (facet_number < -- stl->stats.number_of_facets) {
|
||||
if (facet_number < int(-- stl->stats.number_of_facets)) {
|
||||
// Removing a face, which was not the last one.
|
||||
// Copy the face and neighborship from the last face to facet_number.
|
||||
stl->facet_start[facet_number] = stl->facet_start[stl->stats.number_of_facets];
|
||||
|
||||
Reference in New Issue
Block a user