Inochi2D / inochi2d

Inochi2D reference implementation aimed at rendering 2D puppets that can be animated in real-time (using eg. facial capture).
BSD 2-Clause "Simplified" License
1.25k stars 47 forks source link

Bug fix: MeshGroup: fix condition to setupChild. MeshGroup child is excluded. #38

Closed seagetch closed 1 year ago

seagetch commented 1 year ago

Currently sub-MeshGroup is excluded from parent MeshGroup deformation to keep performance in design. However current implementation updates the vertex position of MeshGroup ( that is not reflected to deformation of descendant nodes.) This result in showing mesh vertices in incorrect position for child MeshGroup which belongs to another MeshGroup. This patch fixes that behaviour.