SCIInstitute / SCIRun

SCIRun is a Problem Solving Environment, for modeling, simulation and visualization of scientific problems. This is version 5, the upgraded version of SCIRun v4.
http://scirun.org
Other
128 stars 72 forks source link

widget duplicate port problem #2397

Closed jessdtate closed 2 years ago

jessdtate commented 2 years ago

When using composite widgets (editmeshboudingbox and showandeditdipoles) there are problems when two of the same ports are sent to the same viewscene module -- the transform is applied twice. GenerateSinglePointProbe does not seem to have the same problem, nor does GeneratePointSamplesFromField.

I suppose the ideal solution would be to ignore the second port, but a check and an error would also work.

widget_duplicate_ports.srn5.zip

dcwhite commented 2 years ago

Should be a quick fix in the generic code to back propagate execution requests--check if same originating output port.