<div dir="ltr"><div><div>>> If you are overriding OnChar, simply do not call the parent class when
the '3' key is pressed. The '3' key means "turn on (or off) 3D stereo
viewing" in the default interactor style. And attempting to do that is
what triggers the warning...<br><br></div>You are missing that if you do this, you will disable not only warning, but 3D functionality on the systems which are able to support it.<br><br></div>Alex <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 3:49 AM, David Cole <span dir="ltr"><<a href="mailto:dlrdave@aol.com" target="_blank">dlrdave@aol.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
it would be called from<br>
vtkInteractorStyle::OnChar()<br>
<br>
You may subclass vtkInteractorStyle you use -<br>
<br>
(for example vtkInteractorStyleTrackballCam<u></u>era ), override<br>
virtual void OnChar();<br>
</blockquote>
<br>
<br></div>
If you are overriding OnChar, simply do not call the parent class when the '3' key is pressed. The '3' key means "turn on (or off) 3D stereo viewing" in the default interactor style. And attempting to do that is what triggers the warning...<br>
<br>
Search for "Keypress 3" here:<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkInteractorStyle.html" target="_blank">http://www.vtk.org/doc/<u></u>nightly/html/<u></u>classvtkInteractorStyle.html</a><br>
<br>
<br>
HTH,<br>
David<br>
<br>
</blockquote></div><br></div>