BullFlack / recastnavigation

Automatically exported from code.google.com/p/recastnavigation
zlib License
0 stars 0 forks source link

Wrong logic in rcFilterLowHangingWalkableObstacles() #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.the problem is hide by later filter functions call.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
By reading comment in this function, I think code:
if (!walkable && previousWalkable)
{
    if (rcAbs((int)s->smax - (int)ps->smax) <= walkableClimb)
         s->area = RC_NULL_AREA;
}
should change to :
if (!walkable && previousWalkable)
{
    if (rcAbs((int)s->smax - (int)ps->smax) <= walkableClimb)
         s->area = RC_WALKABLE_AREA;
}

Original issue reported on code.google.com by lor...@gmail.com on 29 Apr 2011 at 4:18

GoogleCodeExporter commented 8 years ago
Fixed in R296.

Original comment by memono...@gmail.com on 3 Jul 2011 at 11:55

GoogleCodeExporter commented 8 years ago

Original comment by memono...@gmail.com on 17 Nov 2011 at 7:21