Page MenuHomeFeedback Tracker

Inconsistence marker type
Closed, ResolvedPublic


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
  1. Place down an ELLIPSE (or a RECTANGLE) marker in the EDEN editor.
  2. 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.
  3. 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.
  4. 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...).
Additional Information

Type: Public
Build: Stable
Version: 1.80.143869

Event Timeline

ruebe created this task.Feb 21 2018, 6:37 PM
ruebe added a comment.Feb 21 2018, 6:39 PM

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).

ruebe updated the task description. (Show Details)Feb 21 2018, 6:41 PM
Wulf changed the task status from New to Reviewed.Feb 22 2018, 10:27 AM
Wulf added a subscriber: Wulf.

Thanks for creating the ticket. :) We will have a look at it.

R3vo added a subscriber: R3vo.Jun 28 2021, 8:54 AM

Can confirm this in v2.04. Code for testing

allMapMarkers apply {getMarkerType _X}

@R3vo Cannot confirm it in 2.05

BIS_fnc_KK changed the task status from Reviewed to Need More Info.Jun 28 2021, 3:49 PM
R3vo closed this task as Resolved.Jun 28 2021, 4:12 PM

Type has nothing to do with the shape. I fall for it as well. However, the real issue is that markerType should be "".

MarkerType should not return shape for shape markers. It is a bug but different bug

BIS_fnc_KK removed BIS_fnc_KK as the assignee of this task.Jun 28 2021, 4:20 PM
BIS_fnc_KK added a subscriber: BIS_fnc_KK.