diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp index 1d803e3a2e265e65c2ac19aa6a92c890cdb166dd..d34f0f6ef6f7582ed92334f8e7bf9f9732122b6b 100644 --- a/Mesh/Generator.cpp +++ b/Mesh/Generator.cpp @@ -1,4 +1,4 @@ -// $Id: Generator.cpp,v 1.71 2005-09-07 14:36:45 remacle Exp $ +// $Id: Generator.cpp,v 1.72 2005-10-16 15:55:46 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -534,8 +534,9 @@ void mai3d(Mesh * M, int Asked) if(M->status && CTX.mesh.order == 2) Degre2(M->status); + if(M->status > 1 && CTX.mesh.nbPartitions != 1) - PartitionMesh ( M , CTX.mesh.nbPartitions); + PartitionMesh(M, CTX.mesh.nbPartitions); CTX.threads_lock = 0; CTX.mesh.changed = 1;