From d7f5c062c5807fc6d75ec6d9647d59a40d38da25 Mon Sep 17 00:00:00 2001 From: Adrien Berthet Date: Wed, 30 Sep 2020 15:25:31 +0200 Subject: [PATCH] chore(label): remove unnecessary registerLayer --- src/Core/View.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Core/View.js b/src/Core/View.js index f5fe0f0462..a530923f74 100644 --- a/src/Core/View.js +++ b/src/Core/View.js @@ -96,7 +96,6 @@ function _preprocessLayer(view, layer, parentLayer) { layer.whenReady = layer.whenReady.then(() => { view.addLayer(labelLayer); - view.mainLoop.gfxEngine.label2dRenderer.registerLayer(labelLayer); return layer; }); }