- GetImpl()->SetSourceMesh ( meshImpl );
- GetImpl()->SetSourceFace ( shapes[ SRC_FACE ] );
- GetImpl()->SetVertexAssociation( shapes[ SRC_VERTEX1 ],
- shapes[ SRC_VERTEX2 ],
- shapes[ TGT_VERTEX1 ],
- shapes[ TGT_VERTEX2 ]);
+ try {
+ GetImpl()->SetSourceMesh ( meshImpl );
+ GetImpl()->SetSourceFace ( shapes[ SRC_FACE ] );
+ GetImpl()->SetVertexAssociation( shapes[ SRC_VERTEX1 ],
+ shapes[ SRC_VERTEX2 ],
+ shapes[ TGT_VERTEX1 ],
+ shapes[ TGT_VERTEX2 ]);
+ }
+ catch( ... ) {
+ }