Skip to content
Snippets Groups Projects
Commit 954651aa authored by David Thompson's avatar David Thompson
Browse files

Do not blindly assume VTK dataset is non-NULL...

... when a delegate's modified() method is called.
parent 6f67321a
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,8 @@ vtkActor *MeshRenderDelegate::getActor()
void MeshRenderDelegate::modified()
{
dataSet->Modified();
if (this->dataSet)
dataSet->Modified();
}
RegisterFactoryClass(RenderDelegate,
......
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