Render dont send EndEvent if no props
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
vtkRender dont send any EndEvent if it happens to render with a PropArrayCount == 0 This is a problem if using the StartEvent/EndEvent callbacks to change e.g. state of cursor. The solution could be to add this->InvokeEvent(vtkCommand::EndEvent,NULL); in vtkRenderer.cxx (diff -u below):
--- vtkRenderer.cxx.orig4.2 2004-01-29 13:35:56.000000000 +0100 +++ vtkRenderer.cxx 2004-01-29 11:10:25.000000000 +0100 @@ -431,6 +431,7 @@
if ( this->PropArrayCount == 0 ) {
- this->InvokeEvent(vtkCommand::EndEvent,NULL); return 0; }