C4DtoA 2.6.1 [4186e70b]
Arnold core 5.4.0.0
The title of this post describes most of the issue. More below...
New scene. Create a camera. Create a cube. Make sure cube is below camera object in hierarchy. Set IPR camera to the camera object. Move camera object in hierarchy below cube object. IPR camera should be forgotten / revert to default.
Set IPR back to the camera object. Move the camera object back up above the cube in the hierarchy. The IPR doesn't forget the camera this time correctly.
Another part of the problem is this:
With the camera object below the cube in the hierarchy and the IPR set to the camera object, move the camera around in the viewport. Now undo that movement. The IPR should forget the camera because it was below the cube in the hierarchy.
Definitely a bug, thanks for reporting. I'll fix this in a next release.
Thanks, Peter. I just tested this and unfortunately it looks to still be broken but in a slightly different way this time. You definitely managed to fix the problem in the way I originally described it but now I've found a variation of the issue that I might have missed before or was broken thru this update.
New scene. Create a cube and camera. Camera must be below cube in hierarchy. Set IPR camera to camera object. Move cam object around in scene. Undo movement. Redo movement (ctrl Y). IPR should forget camera on redo.
Hope this helps. Thanks for fixing the other side of the bug tho, haha!