LineArt: Fix consistent view vector bug from merging.

This commit is contained in:
2021-12-08 14:23:21 +08:00
parent 6f4144fafa
commit 44a1a68589

View File

@@ -541,10 +541,6 @@ static void lineart_main_occlusion_begin(LineartRenderBuffer *rb)
rb->floating.last = rb->floating.first;
rb->light_contour.last = rb->light_contour.first;
/* This is needed because the occlusion function expects the camera vector to point towards the
* camera. */
negate_v3_db(rb->view_vector);
TaskPool *tp = BLI_task_pool_create(NULL, TASK_PRIORITY_HIGH);
for (i = 0; i < thread_count; i++) {