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

Add missing View->Dirty check for 2D string drawing. Caused a seg.
fault if called during file merge (due to the Fl::check() triggered by
a Msg() call).
parent 473878f2
Branches
Tags
No related merge requests found
// $Id: Graph2D.cpp,v 1.22 2002-11-17 02:27:26 geuzaine Exp $ // $Id: Graph2D.cpp,v 1.23 2002-11-17 04:15:17 geuzaine Exp $
// //
// Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997 - 2002 C. Geuzaine, J.-F. Remacle
// //
...@@ -469,7 +469,7 @@ void Draw_Text2D(void){ ...@@ -469,7 +469,7 @@ void Draw_Text2D(void){
for(i=0;i<List_Nbr(CTX.post.list);i++){ for(i=0;i<List_Nbr(CTX.post.list);i++){
v = (Post_View*)List_Pointer(CTX.post.list,i); v = (Post_View*)List_Pointer(CTX.post.list,i);
if(v->Visible && v->DrawStrings) if(v->Visible && !v->Dirty && v->DrawStrings)
Draw_Text2D3D(2, v->TimeStep, v->NbT2, v->T2D, v->T2C); Draw_Text2D3D(2, v->TimeStep, v->NbT2, v->T2D, v->T2C);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment