Dear moderator,
Please merge this branch improve_deformable_mesh.
This branch improves the undeform function of deformable mesh. In the existing implementation, a mesh is undeformed by using the deformation vector. This method however cannot handle cases where the magnitude of deformation vector is very large. Now, the function stores the initial position of the mesh before the deformation and restore the mesh back directly to the saved position.
Best regards,
Liang Jin Lim