<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Sun, Oct 24, 2010 at 10:50 PM, NathanR <span dir="ltr">&lt;<a href="mailto:nreeves@optimiser.com">nreeves@optimiser.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
I am working with windows 5.6.0 version. When I close the renderWindow, by<br>
either pressing q, or the X on the border, the renderWindow closes, but also<br>
causes the application to exit.<br></blockquote><div><br></div><div>If you take this example:</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere"></a>and add </div><div class="gmail_quote"><br></div><div class="gmail_quote">  std::cout &lt;&lt; &quot;test&quot; &lt;&lt; std::endl;</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">as the last line before the return, do you see &quot;test&quot; printed after you press &#39;q&#39;? </div><div class="gmail_quote"><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
Which operating system are you on? I do see &quot;test&quot; printed on Fedora 13 with the git master VTK.</div><div class="gmail_quote"><span class="Apple-style-span" style="font-family: monospace; font-size: 10px; "><pre class="de1" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-top-color: white; border-right-color: white; border-bottom-color: white; border-left-color: white; color: black; background-color: rgb(249, 249, 249); line-height: normal; font-family: monospace; font-weight: normal; font-style: normal; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background: inherit; ">
<span class="br0" style="color: rgb(0, 128, 0); "><br></span></pre></span><div>David</div></div>