Skip to content
Snippets Groups Projects
Commit 5494d7ff authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

better fix
parent ef6060ac
No related branches found
No related tags found
No related merge requests found
// $Id: Geo.cpp,v 1.56 2006-08-18 18:00:42 geuzaine Exp $ // $Id: Geo.cpp,v 1.57 2006-09-07 05:04:38 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -106,6 +106,7 @@ void add_infile(char *text, char *fich, bool deleted_something) ...@@ -106,6 +106,7 @@ void add_infile(char *text, char *fich, bool deleted_something)
GMODEL->destroy(); GMODEL->destroy();
} }
GMODEL->import(); GMODEL->import();
CTX.mesh.changed = ENT_ALL;
} }
void coherence(char *fich) void coherence(char *fich)
......
...@@ -161,6 +161,8 @@ fourierModel::fourierModel(const std::string &name) ...@@ -161,6 +161,8 @@ fourierModel::fourierModel(const std::string &name)
// visualize as a post-pro view // visualize as a post-pro view
std::for_each(firstFace(), lastFace(), exportFourierFace()); std::for_each(firstFace(), lastFace(), exportFourierFace());
CTX.mesh.changed = ENT_ALL;
} }
......
// $Id: gmshModel.cpp,v 1.16 2006-09-07 04:54:55 geuzaine Exp $ // $Id: gmshModel.cpp,v 1.17 2006-09-07 05:04:38 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -24,14 +24,12 @@ ...@@ -24,14 +24,12 @@
#include "Geo.h" #include "Geo.h"
#include "Tools.h" #include "Tools.h"
#include "Message.h" #include "Message.h"
#include "Context.h"
#include "gmshVertex.h" #include "gmshVertex.h"
#include "gmshFace.h" #include "gmshFace.h"
#include "gmshEdge.h" #include "gmshEdge.h"
#include "gmshRegion.h" #include "gmshRegion.h"
extern Mesh *THEM; extern Mesh *THEM;
extern Context_T CTX;
void gmshModel::import() void gmshModel::import()
{ {
...@@ -122,6 +120,4 @@ void gmshModel::import() ...@@ -122,6 +120,4 @@ void gmshModel::import()
Msg(DEBUG, "%d Edges", edges.size()); Msg(DEBUG, "%d Edges", edges.size());
Msg(DEBUG, "%d Faces", faces.size()); Msg(DEBUG, "%d Faces", faces.size());
Msg(DEBUG, "%d Regions", regions.size()); Msg(DEBUG, "%d Regions", regions.size());
CTX.mesh.changed = ENT_ALL;
} }
// $Id: OpenFile.cpp,v 1.122 2006-09-07 04:54:55 geuzaine Exp $ // $Id: OpenFile.cpp,v 1.123 2006-09-07 05:04:38 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -341,6 +341,8 @@ int MergeProblem(char *name, int warn_if_missing) ...@@ -341,6 +341,8 @@ int MergeProblem(char *name, int warn_if_missing)
SetBoundingBox(); SetBoundingBox();
CTX.mesh.changed = ENT_ALL;
Msg(STATUS2, "Read '%s'", name); Msg(STATUS2, "Read '%s'", name);
return status; return status;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment