Duplicate renders with animating
Steps:
- Start ParaView (builtin)
- Create Sphere Apply.
- From View | Animation View, add an animation track to animate "Start Theta".
- Open Timer Log, hit Refresh, then Clear to clear everything and then set Time Threshold to *Show All.
- Now, step 1 timestep forward, by click the VCR Next button.
- On the timer log hit "Refresh". You'll see something like the following:
Local Process
RenderView::Update, 0.008276 seconds
vtkPVView::Update, 0.007766 seconds
Execute vtkSphereSource id: 19253, 0.000269 seconds
Execute vtkGeometryRepresentationWithFaces id: 19445, 0.00207 seconds
Execute vtkPVExtractSelection id: 19254, 4.5e-05 seconds
SphereSource::GatherInformation, 0.002563 seconds
pqProxyInformationWidget::updateInformation, 0.002122 seconds
pqCompositeDataInformationTreeModel::reset, 6.7e-05 seconds
pqCompositeDataInformationTreeModel::reset, 2e-05 seconds
vtkSMRepresentationProxy::GetRepresentedDataInformation, 0.000284 seconds
pqMultiBlockInspectorWidget::resetNow, 0.00017 seconds
resetModel, 0.00014 seconds
Expand state: save, 6e-06 seconds
pqCompositeDataInformationTreeModel::reset, 4.7e-05 seconds
Expand state: restore, 4e-06 seconds
restoreCachedValues, 1.1e-05 seconds
vtkSMDataDeliveryManager: Deliver Geometry, 0.00244 seconds
FullRes Data Migration, 0.002147 seconds
Still Render, 0.008243 seconds
OpenGL Dev Render, 0.001734 seconds
OpenGL Dev Render, 0.002796 seconds
OpenGL Dev Render, 0.001116 seconds
Still Render, 0.011036 seconds
OpenGL Dev Render, 0.000388 seconds
OpenGL Dev Render, 0.002659 seconds
OpenGL Dev Render, 0.001009 seconds
Notice the two Still Render calls. That's a bug. There should only be 1. The 1st render (which is the incorrect one) seems to triggered from pqPropertiesPanel::renderActiveView
which is triggered from pqTransferFunctionWidgetPropertyWidget::updateRange
, which is triggered by pqTransferFunctionWidgetPropertyWidget::onDomainChanged
(a direct side-effect from !1825 (merged)). That's incorrect.