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

small copy & paste bug (we tested Tree_Nbr(Points) twice instead of Tree_Nbr(Points)
and Tree_Nbr(Vertices))
parent 0e388708
Branches
Tags
No related merge requests found
// $Id: OpenFile.cpp,v 1.49 2004-02-07 01:40:27 geuzaine Exp $ // $Id: OpenFile.cpp,v 1.50 2004-03-01 23:19:51 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -266,8 +266,8 @@ void OpenProblem(char *name) ...@@ -266,8 +266,8 @@ void OpenProblem(char *name)
ZeroHighlight(&M); ZeroHighlight(&M);
#endif #endif
if(!Tree_Nbr(THEM->Points) && !Tree_Nbr(THEM->Points) if(!Tree_Nbr(THEM->Points) && !Tree_Nbr(THEM->Vertices) &&
&& List_Nbr(CTX.post.list)) { List_Nbr(CTX.post.list)) {
// if there are no points or vertices and there is a view, use it // if there are no points or vertices and there is a view, use it
CalculateMinMax(NULL, ((Post_View *) List_Pointer CalculateMinMax(NULL, ((Post_View *) List_Pointer
(CTX.post.list, (CTX.post.list,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment