FEM Post: Fix crash due to wrong initalisation
This commit is contained in:
parent
53a5297de7
commit
4441e4ed5d
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user