[vtkusers] Closing RenderWindow closes application
David Gobbi
david.gobbi at gmail.com
Mon Oct 25 11:02:24 EDT 2010
> On Sun, Oct 24, 2010 at 10:50 PM, NathanR <nreeves at optimiser.com> wrote:
>>
>> I am working with windows 5.6.0 version. When I close the renderWindow, by
>> either pressing q, or the X on the border, the renderWindow closes, but
>> also
>> causes the application to exit.
On Mon, Oct 25, 2010 at 6:34 AM, David Doria <daviddoria at gmail.com> wrote:
> If you take this example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere
> and add
> std::cout << "test" << std::endl;
> as the last line before the return, do you see "test" printed after you
> press 'q'?
> Which operating system are you on? I do see "test" printed on Fedora 13 with
> the git master VTK.
In VTK 5.6, closing the window on Linux (i.e. when using X) forces the
application to close. This was fixed in git in August but was not in
the VTK 5.6.1 release.
David
More information about the vtkusers
mailing list