public void EndMesh() { //m_pCurrentTransform = null; //m_pCurrentMesh.OptimizePoints(); m_pCurrentMesh.FixPosition(); if (!m_pCurrentMesh.IsEmpty()) { m_pFileExporter.AddMesh(m_pCurrentMesh); } }