Commit 258afc94 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit

Fixes errors when PlotOverLine was created.

parent 51f2f735
......@@ -349,6 +349,15 @@ void pqPipelineSource::setDefaultPropertyValues()
// Create any internal proxies needed by any property
// that has a vtkSMProxyListDomain.
this->createProxiesForProxyListDomains();
vtkSMProxy* proxy = this->getProxy();
if (proxy)
{
// if any properties were changed e.g. by
// createProxiesForProxyListDomains(), this will ensure that they are pushed
// correctly.
proxy->UpdateVTKObjects();
}
vtkSMSourceProxy* sp = vtkSMSourceProxy::SafeDownCast(this->getProxy());
if (sp)
......
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