From 38391c10a36563cd8304892972331605a3938e57 Mon Sep 17 00:00:00 2001 From: dbp Date: Mon, 28 Apr 2014 19:10:18 +0400 Subject: [PATCH] 0024878: Ray-tracing mode does not work in IE Sample --- src/OpenGl/OpenGl_GraphicDriver_7.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/OpenGl/OpenGl_GraphicDriver_7.cxx b/src/OpenGl/OpenGl_GraphicDriver_7.cxx index 31f8198285..ae7bcbaae3 100644 --- a/src/OpenGl/OpenGl_GraphicDriver_7.cxx +++ b/src/OpenGl/OpenGl_GraphicDriver_7.cxx @@ -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) -- 2.39.5