mor.wrapper.replaceAndSave.modifyPath
- modifyPath(currentPath, type, initialParam, newParam)[source]
Correct wrong link induce by the change later done in the scene
This step isn’t always needed for execution because all the DataLink are made BEFORE we change the scene with
modifyGraphScene
while the links are all correct (normally). But this way when we will “save” the scene with all the data value the links will be correct.Also for the links to DATA (@myCoponent.myData) or DataLink poorly implemented if the link is false during initialization this link (string representing the path) will be lost and won’t be tried again during bwdInit.
To correct that, we need to update after our scene modification, the changed links. We do that with
pathToUpdate