@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
|
@@ -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 (
|
|
301
|
+
if (this._useDepth())
|
|
302
302
|
return null;
|
|
303
303
|
return this._lastPickedPolygon;
|
|
304
304
|
}
|