diff options
author | YimingWu <xp8110@outlook.com> | 2021-12-28 06:55:37 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-12-28 06:55:37 +0300 |
commit | f6699bfccf0f77327ce6cdf306c280e4c14b3c93 (patch) | |
tree | 2a9c65f63b7dd4f5da8124ad9efbd5bd1aedc2e9 /source/blender/gpencil_modifiers/intern | |
parent | 0a68fa8e14bdafaa2bc456981a571a3f65ad8b76 (diff) |
Revert "LineArt: Intersection function additional clamping"
This reverts commit 0a68fa8e14bdafaa2bc456981a571a3f65ad8b76.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c index a5cffb822c8..9241d256db0 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_cpu.c @@ -2585,10 +2585,8 @@ static bool lineart_triangle_edge_image_space_occlusion(SpinLock *UNUSED(spl), INTERSECT_JUST_GREATER(is, order, is[LCross], RCross); } else { - INTERSECT_JUST_GREATER(is, order, 1 - DBL_TRIANGLE_LIM, LCross); - if (LCross > 0) { - INTERSECT_JUST_GREATER(is, order, is[LCross], RCross); - } + INTERSECT_JUST_GREATER(is, order, is[LCross], LCross); + INTERSECT_JUST_GREATER(is, order, is[LCross], RCross); } } } |