From: apo Date: Tue, 6 Sep 2005 04:35:46 +0000 (+0000) Subject: To avoid an runtime error: X-Git-Tag: BR-D5-38-2003_D2005-12-09~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=296c241d892292f434c1588a103e25a5cb4f9c9a;p=modules%2Fgui.git To avoid an runtime error: - UnbindContext: Assertion `vb.context == ctx' failed --- diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index ff0a517e7..2f3ec2916 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -164,7 +164,8 @@ QVTK_RenderWindowInteractor theRenderWindow->DoubleBufferOn(); setMouseTracking(true); - Initialize(); + // To avoid UnbindContext: Assertion `vb.context == ctx' failed + // Initialize(); } vtkRenderWindow*