Page MenuHomePhabricator

Calling ContourMode::AddVertex(const VertexType*, int) leads to Recursion
Closed, ResolvedPublic

Description

Line #81 leads to recursive call of ContourMode::AddVertex(const VertexType*, int).

Just replace line #81 with:

this->m_ContourSeries[timestep]->AddVertex(*const_cast<VertexType*>(vertex));

Event Timeline

New remote branch pushed: bug-16493-ContourModel-Recursion-fix

[b9a546]: Merge branch 'bug-16493-ContourModel-Recursion-fix'

Merged commits:

2013-11-25 13:48:42 Tobias Schroeder [8c0846]
Fixed recursive call leading to infinite loop.