Lines 706-711
namespace octomap {
Link Here
|
706 |
this->deleteNodeChild(node, pos); |
706 |
this->deleteNodeChild(node, pos); |
707 |
|
707 |
|
708 |
if (!nodeHasChildren(node)) |
708 |
if (!nodeHasChildren(node)) |
|
|
709 |
if(node->children != NULL){ |
710 |
delete[] node->children; |
711 |
node->children = NULL; |
712 |
} |
709 |
return true; |
713 |
return true; |
710 |
else{ |
714 |
else{ |
711 |
node->updateOccupancyChildren(); // TODO: occupancy? |
715 |
node->updateOccupancyChildren(); // TODO: occupancy? |
712 |
function. |
716 |
function. |
713 |
-- |
|
|
714 |
octomap/include/octomap/OcTreeBaseImpl.hxx | 4 ++++ |
717 |
octomap/include/octomap/OcTreeBaseImpl.hxx | 4 ++++ |
715 |
1 file changed, 4 insertions(+) |
718 |
1 file changed, 4 insertions(+) |