diff options
author | YimingWu <xp8110@outlook.com> | 2022-08-18 15:46:04 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2022-08-31 05:02:09 +0300 |
commit | 66fecfcda6f5e0dacf3d86091e08292e8624c895 (patch) | |
tree | c362ce0e7c17f8dcf7fd7775be2129d9f1ea0b68 /source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h | |
parent | d9c48d94e41ba9f8d6b91043142af17a76b7345c (diff) |
LineArt: Fix (unreported) wrong index in weight transfer
Line art now uses global index for vertices but needs to have
local index in order to do correct weight transfer.
Diffstat (limited to 'source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h b/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h index 3668f1dc6d7..947586aaec4 100644 --- a/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h +++ b/source/blender/gpencil_modifiers/intern/lineart/lineart_intern.h @@ -133,6 +133,7 @@ void lineart_main_transform_and_add_shadow(struct LineartData *ld, struct LineartElementLinkNode *eeln); LineartElementLinkNode *lineart_find_matching_eln(struct ListBase *shadow_elns, int obindex); +LineartElementLinkNode *lineart_find_matching_eln_obj(struct ListBase *elns, struct Object *ob); LineartEdge *lineart_find_matching_edge(struct LineartElementLinkNode *shadow_eln, uint64_t edge_identifier); void lineart_register_shadow_cuts(struct LineartData *ld, |