<div dir="ltr">I am guessing that whatever you added isn't participating in reference counting properly, so when the actor is destroyed something you've added (or that that refers to etc) is doubly deleted.<div><br>
<div><div>Run it through the debugger and you should be able to see what that something is.<br></div><div><br><div><br></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div>David E DeMarle<br>Kitware, Inc.<br>
R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909</div>
<br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 3:54 PM, Max <span dir="ltr"><<a href="mailto:smapersmaper@gmail.com" target="_blank">smapersmaper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear VTKers,<br>
I created a class that extends vkActor and inserted several<br>
properties/functions to it,<br>
But when I'm trying to do renderer.removeActor to it, I get an error of<br>
invalid memory access?<br>
What is wrong here?<br>
<br>
Thank you,<br>
Max<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkActor-extension-tp5722976.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtkActor-extension-tp5722976.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>