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: changed way to specify one-time transformation for Drawable object. #32

Closed seagetch closed 1 year ago

seagetch commented 1 year ago

To show the children of MeshGroup in vertex edit mode, transformation matrix is overwritten in vertex edit mode. Currently Transform object is passed as temporal transformation, but this way doesn't work correctly when some of the parents node applied T/R/S transformation. This patch change the way to set one-time transformation overwrite. instead of transformation, mat4 object is directly passed. This solve the problem described here, together with modification to the creator.