mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 11:26:11 +00:00
bug fixing in color projection filter... still under development
This commit is contained in:
parent
a1ee962c26
commit
27d2ef8b49
@ -257,7 +257,7 @@ int floatbuffer::distancefield()
|
||||
cx = xx-1;
|
||||
cy = yy;
|
||||
|
||||
if(cx >0) // inside image
|
||||
if(cx >=0) // inside image
|
||||
if(data[cx + (sx*cy)] != -1) // not background
|
||||
if(data[cx + (sx*cy)] > currval) // need update
|
||||
{
|
||||
@ -285,7 +285,7 @@ int floatbuffer::distancefield()
|
||||
cx = xx;
|
||||
cy = yy-1;
|
||||
|
||||
if(cy >0) // inside image
|
||||
if(cy >=0) // inside image
|
||||
if(data[cx + (sx*cy)] != -1) // not background
|
||||
if(data[cx + (sx*cy)] > currval) // need update
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user