diff --git a/src/controller/datacontroller.js b/src/controller/datacontroller.js index b4ebbd5a9..068615efb 100644 --- a/src/controller/datacontroller.js +++ b/src/controller/datacontroller.js @@ -225,7 +225,7 @@ export default class DataController { markerData.endPath ? new ModelPosition( modelRoot, markerData.endPath ) : null ); - batch.setMarker( this.model.markers.set( markerName, range ) ); + batch.setMarker( markerName, range ); } } ); }