mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
Delete copy constructor of Raster, we dont want to use that. Getting rid of AGG warnings.
This commit is contained in:
parent
2eddacfb7e
commit
835e89f8c1
3 changed files with 11 additions and 13 deletions
|
|
@ -260,7 +260,7 @@ namespace agg
|
|||
if(mod < 0)
|
||||
{
|
||||
delta--;
|
||||
mod += dx;
|
||||
mod += static_cast<int>(dx);
|
||||
}
|
||||
|
||||
m_curr_cell.cover += delta;
|
||||
|
|
@ -279,10 +279,10 @@ namespace agg
|
|||
if (rem < 0)
|
||||
{
|
||||
lift--;
|
||||
rem += dx;
|
||||
rem += static_cast<int>(dx);
|
||||
}
|
||||
|
||||
mod -= dx;
|
||||
mod -= static_cast<int>(dx);
|
||||
|
||||
while (ex1 != ex2)
|
||||
{
|
||||
|
|
@ -290,7 +290,7 @@ namespace agg
|
|||
mod += rem;
|
||||
if(mod >= 0)
|
||||
{
|
||||
mod -= dx;
|
||||
mod -= static_cast<int>(dx);
|
||||
delta++;
|
||||
}
|
||||
|
||||
|
|
@ -422,7 +422,7 @@ namespace agg
|
|||
if(mod < 0)
|
||||
{
|
||||
delta--;
|
||||
mod += dy;
|
||||
mod += static_cast<int>(dy);
|
||||
}
|
||||
|
||||
x_from = x1 + delta;
|
||||
|
|
@ -440,9 +440,9 @@ namespace agg
|
|||
if(rem < 0)
|
||||
{
|
||||
lift--;
|
||||
rem += dy;
|
||||
rem += static_cast<int>(dy);
|
||||
}
|
||||
mod -= dy;
|
||||
mod -= static_cast<int>(dy);
|
||||
|
||||
while(ey1 != ey2)
|
||||
{
|
||||
|
|
@ -450,7 +450,7 @@ namespace agg
|
|||
mod += rem;
|
||||
if (mod >= 0)
|
||||
{
|
||||
mod -= dy;
|
||||
mod -= static_cast<int>(dy);
|
||||
delta++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue