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

moving to new post-processing database

                    *** WARNING ***

do not upgrade if you need plugins or adaptive view: these have not
been ported (yet) to the new database

                    *** WARNING ***
parent 946f1eea
No related branches found
No related tags found
No related merge requests found
// $Id: Post.cpp,v 1.128 2007-09-10 04:47:03 geuzaine Exp $
// $Id: Post.cpp,v 1.129 2007-09-10 05:13:12 geuzaine Exp $
//
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
//
......@@ -1387,10 +1387,11 @@ void Draw_Post()
if(!CTX.post.draw) return;
if(!CTX.threads_lock){
CTX.threads_lock = 1;
static bool busy = false;
if(!busy){
busy = true;
std::for_each(PView::list.begin(), PView::list.end(), initPView());
std::for_each(PView::list.begin(), PView::list.end(), drawPView());
CTX.threads_lock = 0;
busy = false;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment