| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000553 | VTK | (No Category) | public | 2004-01-29 07:35 | 2004-01-30 14:34 | ||||
| Reporter | bahn | ||||||||
| Assigned To | Mathieu Malaterre | ||||||||
| Priority | low | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000553: Render dont send EndEvent if no props | ||||||||
| Description | 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; } | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| 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 ? |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |