From 559a7b9e6793a529767742af3b077539ae8c9f55 Mon Sep 17 00:00:00 2001 From: mzn Date: Thu, 3 Aug 2006 10:45:26 +0000 Subject: [PATCH] Additional fix for bug PAL13107 ( EDF248 - GEOM - UpdateViewer on python functions ). --- src/OCCViewer/OCCViewer_ViewModel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OCCViewer/OCCViewer_ViewModel.cxx b/src/OCCViewer/OCCViewer_ViewModel.cxx index b3577414d..c4917d7b0 100755 --- a/src/OCCViewer/OCCViewer_ViewModel.cxx +++ b/src/OCCViewer/OCCViewer_ViewModel.cxx @@ -517,7 +517,7 @@ void OCCViewer_Viewer::setColor( const Handle(AIS_InteractiveObject)& obj, void OCCViewer_Viewer::switchRepresentation( const Handle(AIS_InteractiveObject)& obj, int mode, bool update ) { - myAISContext->SetDisplayMode( obj, (Standard_Integer)mode, true ); + myAISContext->SetDisplayMode( obj, (Standard_Integer)mode, update ); if( update ) myV3dViewer->Update(); } -- 2.39.2