I have the following bug report:
When using VTK/Tcl (nightly release from october 3rd) on SGI Octane (IRIX 6.5.5) pressing "p" on an object, then "p" when pointing on background, and finally on object again result in the following output:
Debug: In vtkObject.cxx, line 216
vtkObject (0x10ddea80): Registered by vtkObject (0x10ddea80), ReferenceCount
= 1
Debug: In vtkObject.cxx, line 231
vtkObject (0x10ddea80): UnRegistered by vtkOpenGLActor (0x10dddd78),
ReferenceCount = 0
Debug: In vtkObject.cxx, line 108
vtkObject (0x10ddea80): Destructing!
Killed
I have the following TCL code (not complete):
set fileName [lindex $argv 0];
vtkPolyDataReader reader;
reader SetFileName $fileName
vtkPolyDataMapper surfaceMapper;
surfaceMapper SetInput [reader GetOutput];
surfaceMapper ScalarVisibilityOff; # Needed,- else it's not
possible to set the color
vtkActor surfaceActor;
surfaceActor SetMapper surfaceMapper;
eval [surfaceActor GetProperty] SetColor $bone
ren1 AddActor surfaceActor;
Having two actors (one object in each), picking the first object, the second, the background and then one of the obejcts results in a core dump and the following output:
Debug: In vtkObject.cxx, line 216
vtkObject (0x10e22710): Registered by vtkObject (0x10e22710), ReferenceCount
= 1
Debug: In vtkObject.cxx, line 231
vtkObject (0x10e22710): UnRegistered by vtkOpenGLActor (0x10ddc568),
ReferenceCount = 0
Debug: In vtkObject.cxx, line 108
vtkObject (0x10e22710): Destructing!
Bus error(coredump)
Best regards
Per
-- ______________________________________________________________ Per Roensholt Andresen http://www.imm.dtu.dk/~pra Assistant Research Professor Technical University of Denmark