Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5393

Incorrect icon used for locator(s) in ResourceTree

    Details

      Description

      When I load a script with an EclipseLocator and a ContactLocator, the icon used for the ContactLocator is incorrect - it uses the EclipseLocator icon.

      If I create new locators via the GUI, they show up correctly. If I load a script with one or more EclipseLocators but no ContactLocators, they show up OK. If I load a script with one or more ContactLocators but no EclipseLocators, they show up OK. The problem only happens when there is both type of locator in the script.

      I put debug in ResourceTree::GetItemTypeAndIcon and it never gets to line ~1553, where the ContactLocator icon should be set. It appears that if one type of locator is checked, it never checks for the second type. The code is very similar, however, to the code that checks for Nuclear and Solar Power Systems and those show up fine. ???

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m