Skip to content
Permalink
Browse files

Add another TODO bug note

  • Loading branch information
nyalldawson committed Dec 24, 2019
1 parent bb42c43 commit 5f848be1a57f356eeb676d4d6e674553ae84e1e7
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/pal/costcalculator.cpp
@@ -198,6 +198,8 @@ void CostCalculator::setCandidateCostFromPolygon( LabelPosition *lp, PalRtree<Fe
return true;
} );

// TODO 4: probably a bug here -- by calling setCost here we discard all existing candidate costs,
// e.g. those determined via conflicts with obstacles
lp->setCost( pCost.getCost() );
}

0 comments on commit 5f848be

Please sign in to comment.
You can’t perform that action at this time.