Grease Pencil Line Art Modifier - Incorrect baking with camera markers #88464
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce RTX 2080 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 457.30
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-05-20 18:41, hash:
Short description of error
When using Bake Line Art on a Line Art Modifier in a scene with multiple cameras assigned to camera markers on the timeline, the POV of only one of the cameras is used to calculate the Line Art, giving incorrect lines on the other camera views. This bug happens only after baking the line art, as it is correctly shown/calculated before baking.
Exact steps for others to reproduce the error
Open attached .blend file
The 'LineArt-Baked' collection contains baked line art of the 'LineArt-src' collection. It is incorrectly baked using only one camera POV.
The 'LineArt-src' collection also contains a Line Art object that is not baked, which correctly calculates the lines.
To reproduce, select the 'Line Art - NotBaked' object.
In the modifiers, under the baking tab, click on the 'Bake Line Art' button.
The baked line art will now be calculated based on only the active camera, instead of switching along with the markers.
Ok I see... baking currently does not take in to account for camera changes... I'll fix it.
This issue was referenced by
Was this fix ported to the new 2.93? I am still getting incorrect baking using 2.93.0 and the test file provided.
Maybe we can also have this fix for 2.93 bug sprint. @Jeroen-Bakker Do you think?
Tested today in 2.93.1 release candidate and in 3.0 alpha and both still have the issue.
Just checked and that commit somehow was lost due to the change of custom camera code. Will fix it.
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?