Uploaded image for project: 'MAEviz'
  1. MAEviz
  2. MAE-248

VTKCanvas needs to be smarter about adding multiple layers at once, the methods calls lead to exceptions because some are called again before the previous is complete

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • 2.0
    • Visualization
    • None

      Adding mutliple results to the VTK window can lead to Invokation Target Exceptions. To create this bug, try using the define scenario earthquake and select multiple outputs. I believe this has something to do with the fact that drawLayerAdded then calls drawLayerMoved within the method and drawLayerMoved creates a Runnable thread....if this drawLayerAdded is called multiple times at once because you have 2 or more results to add, some threading issues arise. We probably need to have a flag that says VTK is busy so put the next call in a queue. The result of this bug is that you cannot delete all of the VTK layers that you added.

              cnavarro Christopher Navarro
              cnavarro Christopher Navarro
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: