Fill.cpp: Fixed a typo
This commit is contained in:
parent
c4d90ed47a
commit
6cc29c308c
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
|
|||
const SurfaceFillParams *params = region_to_surface_params[region_id][&surface - &layerm.fill_surfaces.surfaces.front()];
|
||||
if (params != nullptr) {
|
||||
SurfaceFill &fill = surface_fills[params->idx];
|
||||
if (fill.region_id = size_t(-1)) {
|
||||
if (fill.region_id == size_t(-1)) {
|
||||
fill.region_id = region_id;
|
||||
fill.surface = surface;
|
||||
fill.expolygons.emplace_back(std::move(fill.surface.expolygon));
|
||||
|
|
Loading…
Reference in a new issue