[vtkusers] Crash/Error by using vtkVRMLImporter with VTK6.1

-Daniel- ich_daniel at habmalnefrage.de
Tue Jul 22 05:53:13 EDT 2014


Hi there,

in my application I can import one VRML-object. But my program crashes, when
I load the next VRML-dataobject (with VTK6.1).
With VTK 6.0 it runs fine.

here my (JAVA-)code for loading a new VRML-object:
/
//***** VRML import ******
vtkVRMLImporter importer = new vtkVRMLImporter();
importer.SetFileName(file);
importer.Read();
importer.Update();

vtkActorCollection coll = importer.GetRenderer().GetActors();
coll.InitTraversal();
		
vtkActor actor = coll.GetLastActor();
//*****************************
/

It crashes in the third line ( importer.Read() ).

Is it a bug in 6.1 ?




--
View this message in context: http://vtk.1045678.n5.nabble.com/Crash-Error-by-using-vtkVRMLImporter-with-VTK6-1-tp5727927.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list