[vtkusers] Crash with nested vtkPropAssembly
John Platt
jcplatt at dsl.pipex.com
Tue Jan 15 10:03:54 EST 2008
Hi,
I think there may be a problem in vtkPropAssembly::BuildPaths() with the
line
path->AddNode(prop,NULL);
This will always add a null matrix even if the prop is a vtkProp3D. I
have changed this to
path->AddNode( prop, prop->GetMatrix() );
and my particular problem is resolved.
John.
-----Original Message-----
From: vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtkusers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf Of
John Platt
Sent: 14 January 2008 16:43
To: vtk Users
Subject: [vtkusers] Crash with nested vtkPropAssembly
Hi,
If you try to render the prop assembly tree vtkActor > vtkPropAssembly >
vtkPropAssembly (from leaf to root), vtkProp3D::PokeMatrix() crashes
because this->CachedProp3D is NULL. The tree vtkActor > vtkPropAssembly
renders OK.
The same problem was reported some years ago
http://public.kitware.com/pipermail/vtkusers/2002-April/060530.html
Does anyone have a suggestion for a preferred fixed? I am using latest
CVS version (as of today).
TIA
John.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080115/2f84a191/attachment.htm>
More information about the vtkusers
mailing list