[Bf-blender-cvs] [a60b3071b5c] lanpr-under-gp: LineArt: Fix transparency mask lost in angle splitting process
YimingWu
noreply at git.blender.org
Mon Nov 9 09:21:17 CET 2020
Commit: a60b3071b5c55b8aaf35d21bc0f704ea517f2cf7
Author: YimingWu
Date: Mon Nov 9 16:20:47 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rBa60b3071b5c55b8aaf35d21bc0f704ea517f2cf7
LineArt: Fix transparency mask lost in angle splitting process
===================================================================
M source/blender/editors/lineart/lineart_chain.c
===================================================================
diff --git a/source/blender/editors/lineart/lineart_chain.c b/source/blender/editors/lineart/lineart_chain.c
index db9c87189f8..08297176e13 100644
--- a/source/blender/editors/lineart/lineart_chain.c
+++ b/source/blender/editors/lineart/lineart_chain.c
@@ -622,7 +622,6 @@ void ED_lineart_chain_split_for_fixed_occlusion(LineartRenderBuffer *rb)
rlci->index);
new_rlc->object_ref = rlc->object_ref;
new_rlc->type = rlc->type;
- new_rlc->level = rlci->occlusion;
rlc = new_rlc;
fixed_occ = rlci->occlusion;
fixed_mask = rlci->transparency_mask;
@@ -977,6 +976,7 @@ void ED_lineart_chain_split_angle(LineartRenderBuffer *rb, float angle_threshold
new_rlc->object_ref = rlc->object_ref;
new_rlc->type = rlc->type;
new_rlc->level = rlc->level;
+ new_rlc->transparency_mask = rlc->transparency_mask;
rlc = new_rlc;
}
}
More information about the Bf-blender-cvs
mailing list