]> OCCT Git - occt-copy.git/commitdiff
0024878: Ray-tracing mode does not work in IE Sample
authordbp <dbp@opencascade.com>
Mon, 28 Apr 2014 15:10:18 +0000 (19:10 +0400)
committerdbp <dbp@opencascade.com>
Mon, 28 Apr 2014 15:10:18 +0000 (19:10 +0400)
src/OpenGl/OpenGl_GraphicDriver_7.cxx

index 31f8198285566e3e5460f593506cda9f083e385c..ae7bcbaae303a352e4593d0d11492567f082a98a 100644 (file)
@@ -540,9 +540,7 @@ void OpenGl_GraphicDriver::Transparency (const Graphic3d_CView& ACView, const St
 
 void OpenGl_GraphicDriver::Update (const Graphic3d_CView& ACView, const Aspect_CLayer2d& ACUnderLayer, const Aspect_CLayer2d& ACOverLayer)
 {
-  const OpenGl_CView *aCView = (const OpenGl_CView *)ACView.ptrView;
-  if (aCView)
-    aCView->WS->Update(ACView,ACUnderLayer,ACOverLayer);
+  Redraw (ACView, ACUnderLayer, ACOverLayer);
 }
 
 Standard_Boolean OpenGl_GraphicDriver::View (Graphic3d_CView& theCView)