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

fix bug in Evaluate (bad test for external view)
parent bb422d10
No related branches found
No related tags found
No related merge requests found
// $Id: GModelIO_MED.cpp,v 1.9 2008-03-20 11:44:05 geuzaine Exp $ // $Id: GModelIO_MED.cpp,v 1.10 2008-03-21 17:09:06 geuzaine Exp $
// //
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// //
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "GModelIO_MED.h" #include "GModelIO_MED.h"
extern "C" { extern "C" {
#include "med.h" #include <med.h>
} }
ConversionData Data::MyConversionData; ConversionData Data::MyConversionData;
......
// $Id: Evaluate.cpp,v 1.35 2008-03-20 11:44:13 geuzaine Exp $ // $Id: Evaluate.cpp,v 1.36 2008-03-21 17:09:06 geuzaine Exp $
// //
// Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
// //
...@@ -241,9 +241,9 @@ PView *GMSH_EvaluatePlugin::execute(PView *v) ...@@ -241,9 +241,9 @@ PView *GMSH_EvaluatePlugin::execute(PView *v)
if(externalView >= 0){ if(externalView >= 0){
if(externalView < (int)PView::list.size()) if(externalView < (int)PView::list.size())
Msg(GERROR, "View[%d] does not exist: using self", externalView);
else
v2 = PView::list[externalView]; v2 = PView::list[externalView];
else
Msg(GERROR, "View[%d] does not exist: using self", externalView);
} }
PViewDataList *data2 = getDataList(v2); PViewDataList *data2 = getDataList(v2);
......
$Id: VERSIONS,v 1.400 2008-03-01 18:49:53 geuzaine Exp $ $Id: VERSIONS,v 1.401 2008-03-21 17:09:06 geuzaine Exp $
2.1.2 (xx): new Fields interface; more work on new post-processing
API; fixed various bugs.
2.1.1 (Mar 1, 2008): small bug fixes (second order meshes, combine 2.1.1 (Mar 1, 2008): small bug fixes (second order meshes, combine
views, divide and conquer crash, ...). views, divide and conquer crash, ...).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment