Fix crash in vtkSMProxySelectionModel
Check associated port proxy exist before accessing it in vtkSMProxySelectionModel.cxx
How to reproduce the crash:
- Build
Examples/CustomApplications/Clone1
(could not reproduce with paraview) - Open two source with at least 2 output port (e.g
m4_TotalDensity.cube
vtk dataset) - Delete one of the source by deleting one of it's output port (e.g
Molecule
for the cube dataset) - Click on the other source
Backport: release
Edited by Timothée Couble