Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2021-06-09 19:14:34 +0300
committerJeroen Bakker <jeroen@blender.org>2021-06-16 10:28:46 +0300
commite24765d7d3a1dae3f83c222da941aa9af4ad6188 (patch)
tree2ce71747c9fb54c1d5b945dd496d57af6e4b0617
parent57301121747983671f7064170f6fb772ad787cc8 (diff)
LineArt: Camera marker update fix.
The original fix was probably flushed by some newer line art commits. Fixed. See https://developer.blender.org/T88464
-rw-r--r--source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
index 0aad7748dda..ab1b0b9bac7 100644
--- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
+++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c
@@ -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;
}