Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 741
    • Issues 741
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 196
    • Merge requests 196
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #553
Closed
Open
Created Jan 28, 2004 by Kitware Robot@kwrobotOwner

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; }
Assignee
Assign to
Time tracking