The crash happened afterwards. <br>The data rendered ok. But when i interacted with the rendered object, sooner or later the program would crash. The same thing happened when i changed the size of the window (expected so, as it makes the object to be updated, if i'm not mistaken).<br>
<br><br><div class="gmail_quote">2009/11/17 Jeff Baumes <span dir="ltr"><<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, Nov 17, 2009 at 4:56 AM, Baliki baliki <<a href="mailto:balikivtk@gmail.com">balikivtk@gmail.com</a>> wrote:<br>
> I use a vtkVRMLImporter to read a vrml file. All variables (vtkVRMLImporter,<br>
> vtkActor, etc) i use are in function scope.<br>
> I "solved" the problem using the vtkVRMLImporter as a global variable.<br>
><br>
> The weird thing is that when i tried a similar thing using vtkSTLReader to<br>
> read an stl file, the crash did not occur!<br>
> (all variables in function scope).<br>
><br>
> If you have any possible explanation, please let me know.<br>
<br>
</div>Where did your crash happen? Within the function where you are using<br>
the vtkVRMLImporter, or afterward when you are accessing/rendering<br>
data that came from the importer?<br>
<font color="#888888"><br>
Jeff<br>
</font></blockquote></div><br>