@pirireis/webglobeplugins 1.2.20 → 1.2.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pirireis/webglobeplugins",
3
- "version": "1.2.20",
3
+ "version": "1.2.21",
4
4
  "main": "index.js",
5
5
  "author": "Toprak Nihat Deniz Ozturk",
6
6
  "license": "MIT",
@@ -298,7 +298,7 @@ export class TerrainPolygonSemiPlugin {
298
298
  if (this._options.pickable === false) {
299
299
  throw new Error("TerrainPolygonSemiPlugin is not pickable. Set pickable option to true on construction to enable picking.");
300
300
  }
301
- if (!this._useDepth())
301
+ if (this._useDepth())
302
302
  return null;
303
303
  return this._lastPickedPolygon;
304
304
  }