diff --git a/src/webgl/pointFeature.js b/src/webgl/pointFeature.js index a9c8396646..5746fad7a0 100644 --- a/src/webgl/pointFeature.js +++ b/src/webgl/pointFeature.js @@ -456,14 +456,10 @@ var webgl_pointFeature = function (arg) { * @returns {this} */ this._build = function () { - - if (m_actor) { - m_this.renderer().contextRenderer().removeActor(m_actor); - } - createGLPoints(); - - m_this.renderer().contextRenderer().addActor(m_actor); + if (!m_this.renderer().contextRenderer().hasActor(m_actor)) { + m_this.renderer().contextRenderer().addActor(m_actor); + } m_this.renderer().contextRenderer().render(); m_this.buildTime().modified(); return m_this;