diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 96ebe181fad132a74e9641165a4ebdc84a62b799..bdf38b6b2b220b69c094515233319fa3184b4b55 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.182 2008-03-30 17:45:12 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.183 2008-04-07 12:13:16 geuzaine Exp $ // // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // @@ -323,6 +323,13 @@ int MergeFile(const char *name, int warn_if_missing) GModel *m = GModel::current(); + // FIXME: We need to decide what do do for CAD entities, meshes, + // etc. For meshes we should definitely create one new model per + // merge (and reset current() to the previous value after the + // merge). This will make multi-step multi-meshes post-pro views + // work out of the box. + // GModel *m = new GModel; + int numViewsBefore = PView::list.size(); int status = 0;