Commit 94e87a35 authored by Sreekanth Arikatla's avatar Sreekanth Arikatla
Browse files

BUG: Check if the actor is for scene objects before turning ON/OFF visibility

parent a36baabc
......@@ -185,16 +185,23 @@ VTKRenderDelegate::update()
this->updateActorTransform();
this->updateActorProperties();
<<<<<<< HEAD
if (m_visualModel->isVisible())
=======
if (this->getGeometry())
>>>>>>> BUG: Check if the actor is for scene objects before turning ON/OFF visibility
{
m_actor->VisibilityOn();
return;
}
else
{
m_actor->VisibilityOff();
return;
}
if (this->getGeometry()->isVisible())
{
m_actor->VisibilityOn();
return;
}
else
{
m_actor->VisibilityOff();
return;
}
}
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment