Skip to content

Commit

Permalink
FEM Post: Fix crash due to wrong initalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
ickby authored and wwmayer committed May 18, 2016
1 parent 53a5297 commit 4441e4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp
Expand Up @@ -147,6 +147,9 @@ void ViewProviderFemPostObject::attach(App::DocumentObject *pcObj)

void ViewProviderFemPostObject::setDisplayMode(const char* ModeName)
{
if(!setupPipeline())
return;

if (strcmp("Outline",ModeName)==0)
m_currentAlgorithm = m_outline;
else if (strcmp("Surface with Edges",ModeName)==0)
Expand Down

0 comments on commit 4441e4e

Please sign in to comment.