You can end up with inconsistent/conflicting marker types after changing the marker type in the EDEN editor. The changed type is fine for the EDEN editor, but not while running the mission and retrieving the type with a call to getMarkerType.
- Operating System
- Windows 7
- Eden Editor
Steps To Reproduce
- Place down an ELLIPSE (or a RECTANGLE) marker in the EDEN editor.
- Preview the mission, have a look at the type of the marker (forEach allMapMarkers hint/diag_log getMarkerType). Note that all is fine. An ELLIPSE marker is an ELLIPSE marker.
- Back in EDEN editor: change the ELLIPSE marker to a RECTANGLE one, and/or a RECTANGLE marker to ELLIPSE. Shape changes accordingly in EDEN editor, looking good.
- Preview the mission again: note how an original ELLIPSE marker changed to be a RECTANGLE marker still gets reported as an ELLIPSE marker (similarly wrong if starting out with a RECTANGLE one...).
demo mission showing that the inconsistency/conflicting marker type persists (ellipse_1 and ellipse_2 were both ELLIPSES originally, rectangle_1 and rectangle_2 were RECTANGLES. Both _2 markers have been changed/swaped for the other before saving).