Fix T86730: LineArt: keep contour when there's perpendicular faces.

This commit is contained in:
YimingWu
2021-03-20 13:35:13 +08:00
committed by Sebastian Parborg
parent d5a705873e
commit 3d5239ff40

View File

@@ -1400,7 +1400,7 @@ static char lineart_identify_feature_line(LineartRenderBuffer *rb,
dot_1 = dot_v3v3_db(view_vector, rt1->gn);
dot_2 = dot_v3v3_db(view_vector, rt2->gn);
if ((result = dot_1 * dot_2) < 0 && (dot_1 + dot_2)) {
if ((result = dot_1 * dot_2) <= 0 && (dot_1 + dot_2)) {
return LRT_EDGE_FLAG_CONTOUR;
}