From 296c241d892292f434c1588a103e25a5cb4f9c9a Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 6 Sep 2005 04:35:46 +0000 Subject: [PATCH] To avoid an runtime error: - UnbindContext: Assertion `vb.context == ctx' failed --- src/SVTK/SVTK_RenderWindowInteractor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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* -- 2.39.2