Skip to content

Commit

Permalink
Bug fix, now clearing out the result returned by the action. (Matches…
Browse files Browse the repository at this point in the history
… part of the changes in development branch r45497.)

git-svn-id: https://code.ros.org/svn/wg-ros-pkg/stacks/people/trunk@48858 7275ad9f-c29b-430a-bdc5-66f4b3af1622
  • Loading branch information
pantofaru committed Feb 8, 2011
1 parent 812d235 commit bc45268
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions face_detector/src/face_detection.cpp
Expand Up @@ -285,6 +285,10 @@ class FaceDetector {
if (!do_continuous_ && !as_.isActive())
return;


// Clear out the result vector.
result_.face_positions.clear();

if (do_display_ == "local") {
cv_mutex_.lock();
}
Expand Down

0 comments on commit bc45268

Please sign in to comment.