occ set geomtype + bug fix ???

This commit is contained in:
Joachim Schoeberl 2010-04-28 19:26:22 +00:00
parent 44e9b5ed87
commit a585af7eb9

View File

@ -728,10 +728,9 @@ namespace nglib
occparam.resthcloseedgeenable = mp->closeedgeenable; occparam.resthcloseedgeenable = mp->closeedgeenable;
occparam.resthcloseedgefac = mp->closeedgefact; occparam.resthcloseedgefac = mp->closeedgefact;
/* // delete me;
delete me; // me = new Mesh;
me = new Mesh;
*/
me -> DeleteMesh(); me -> DeleteMesh();
OCCSetLocalMeshSize(*occgeom, *me); OCCSetLocalMeshSize(*occgeom, *me);