Skip to content

Commit

Permalink
Refs #6315. Add null proxy trap.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Jan 2, 2013
1 parent 540a35e commit 1210caa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ void MdViewerWidget::checkForUpdates()
{
pqPipelineSource *src = pqActiveObjects::instance().activeSource();
vtkSMProxy *proxy = src->getProxy();
if (NULL == proxy)
{
return;
}
if (strcmp(proxy->GetXMLName(), "MDEWRebinningCutter") == 0)
{
this->currentView->resetDisplay();
Expand Down

0 comments on commit 1210caa

Please sign in to comment.