View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000553VTK(No Category)public2004-01-29 07:352004-01-30 14:34
Reporterbahn 
Assigned ToMathieu Malaterre 
PrioritylowSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000553: Render dont send EndEvent if no props
DescriptionvtkRender 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;
     }
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0000587)
Mathieu Malaterre (developer)
2004-01-30 14:34

This was fixed long time ago:
http://vtk.org/cgi-bin/cvsweb.cgi/VTK/Rendering/vtkRenderer.cxx.diff?r1=1.194&r2=1.195 [^]

Do we need to merge this to VTK 4.2 ?

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)


Copyright © 2000 - 2018 MantisBT Team