Skip to content
Snippets Groups Projects
Commit befc827e authored by Julien Michel's avatar Julien Michel
Browse files

BUG: Did commit these modification accidentaly, reverting back to 47e6a2794524

parent cbd59912
No related branches found
No related tags found
No related merge requests found
...@@ -341,18 +341,7 @@ PolygonListToRCC8GraphFilter<TPolygonList, TOutputGraph> ...@@ -341,18 +341,7 @@ PolygonListToRCC8GraphFilter<TPolygonList, TOutputGraph>
{ {
// Add the edge to the graph. // Add the edge to the graph.
otbMsgDevMacro(<<"Adding edge: "<<vIt1.GetIndex()<<" -> "<<vIt2.GetIndex()<<": "<<value); otbMsgDevMacro(<<"Adding edge: "<<vIt1.GetIndex()<<" -> "<<vIt2.GetIndex()<<": "<<value);
if(value==OTB_RCC8_NTPPI) m_EdgesPerThread[threadId][EdgePairType(vIt1.GetIndex(),vIt2.GetIndex())]=value;
{
m_EdgesPerThread[threadId][EdgePairType(vIt2.GetIndex(),vIt1.GetIndex())]=OTB_RCC8_NTPP;
}
else if(value == OTB_RCC8_TPPI)
{
m_EdgesPerThread[threadId][EdgePairType(vIt2.GetIndex(),vIt1.GetIndex())]=OTB_RCC8_TPP;
}
else
{
m_EdgesPerThread[threadId][EdgePairType(vIt1.GetIndex(),vIt2.GetIndex())]=value;
}
if (m_UseInverted) if (m_UseInverted)
{ {
m_EdgesPerThread[threadId][EdgePairType(vIt2.GetIndex(),vIt1.GetIndex())]=invert[value]; m_EdgesPerThread[threadId][EdgePairType(vIt2.GetIndex(),vIt1.GetIndex())]=invert[value];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment