Blender Git Loki
Git Commits -> Revision 15add11
Revision 15add11 by Bastien Montagne (master) November 26, 2018, 20:07 (GMT) |
MOD_shrinkwrap: do not compute mesh when not needed. This modifier only uses mesh to get vgroup, which is only needed in case modified object is indeed a mesh! Building a mesh from curve here is not only useless and time-consuming, it will also easily fail the assert about same number of vertices! Note that surface_project and subsurf option also need more work at some point, but this is probably not that urgent for now. Also, use MOD_get_vgroup() helper in modifier code itself and pass resulting MDeformVert & index to BKE_shrinkwrap's `shrinkwrapModifier_deform()`, this is simpler and avoids duplicating vgroup handling code. Related to T57972. |
Commit Details:
Full Hash: 15add11595fcefae604ec6980bcd840e3705232a
Parent Commit: ede994c
Lines Changed: +28, -24