The bug occurred when the user changed the camera of the scene. The lineart modifier was not updating when changing the camera, but only when changing other elements in the scene or moving the camera. This is resolved by adding a depsgraph update for scene parameters, such as when changing the camera. Testing: Add two cameras, add a Grease Pencil Collection Line Art, go into camera perspective view and then switch to the other camera. The Grease Pencil Line Art now updates automatically. Co-authored-by: YimingWu <chengdulittlea@noreply.localhost> Pull Request: https://projects.blender.org/blender/blender/pulls/129935