LineArt: Camera marker update fix.

The original fix was probably flushed by some newer
line art commits. Fixed.

See https://developer.blender.org/T88464
This commit is contained in:
YimingWu 2021-06-10 00:14:34 +08:00 committed by Jeroen Bakker
parent 5730112174
commit e24765d7d3
Notes: blender-bot 2023-02-14 06:00:45 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
1 changed files with 2 additions and 0 deletions

View File

@ -3656,6 +3656,8 @@ bool MOD_lineart_compute_feature_lines(Depsgraph *depsgraph, LineartGpencilModif
Scene *scene = DEG_get_evaluated_scene(depsgraph);
int intersections_only = 0; /* Not used right now, but preserve for future. */
BKE_scene_camera_switch_update(scene);
if (!scene->camera) {
return false;
}