0022885: Bugfix: else clause applies to the wrong if statement because of missing...
[occt.git] / src / TPrsStd / TPrsStd_AISPresentation.cxx
index e449b12..0fc7ff9 100755 (executable)
@@ -1031,12 +1031,12 @@ void TPrsStd_AISPresentation::AISErase (const Standard_Boolean remove)
       }
     }
     else {
-     if( remove )
+     if( remove ) {
       if( !ownctx.IsNull() ) {
        ownctx->Remove (myAIS,Standard_False);
        myAIS->SetToUpdate();
       }
-     else 
+     } else
       if( !ownctx.IsNull() ) ownctx->Erase (myAIS,Standard_False); 
     }
   }