fixed bugs in Mesh<RCSLenSObject*> generation