Skip to content

Python: Fix paraview.simple.RenameSource when newName is the same as the current name

Ghost User requested to merge (removed):fix-RenameSource into master

The code in RenameSource does not check that the new name is different from the old one before doing:

  pxm.RegisterProxy("sources", newName, proxy)
  pxm.UnRegisterProxy("sources", oldName, proxy)

so when they are the same, the new name is unregistered right after creation, and the source stays visible in the 3D view but cannot be accessed through the pipeline anymore.

Merge request reports