From 8017efee4b719c63b52a7698aa6db7619fa1176b Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 8 Apr 2008 08:39:39 +0000 Subject: [PATCH] Bug IPAL19475 - QT4 porting: exception on display of geometry creating a mesh --- src/SUIT/SUIT_Study.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SUIT/SUIT_Study.cxx b/src/SUIT/SUIT_Study.cxx index cc0531a80..fec0b6a4f 100755 --- a/src/SUIT/SUIT_Study.cxx +++ b/src/SUIT/SUIT_Study.cxx @@ -246,8 +246,9 @@ SUIT_Operation* SUIT_Study::blockingOperation( SUIT_Operation* theOp ) const return 0; Operations tmpOps( myOperations ); - for ( Operations::const_iterator it = tmpOps.end(); it != tmpOps.begin(); --it ) + for ( Operations::const_iterator it = tmpOps.end(); it != tmpOps.begin(); ) { + it--; SUIT_Operation* anOp = *it; if ( anOp != 0 && anOp!= theOp && !anOp->isValid( theOp ) ) return anOp; -- 2.39.2