@xeokit/xeokit-sdk 2.6.27 → 2.6.28

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": "@xeokit/xeokit-sdk",
3
- "version": "2.6.27",
3
+ "version": "2.6.28",
4
4
  "description": "Web Programming Toolkit for 3D/2D BIM and AEC Graphics",
5
5
  "module": "./dist/xeokit-sdk.es.js",
6
6
  "main": "./dist/xeokit-sdk.cjs.js",
@@ -266,7 +266,7 @@ class MousePickHandler {
266
266
 
267
267
  this._timeout = setTimeout(() => {
268
268
 
269
- if (firstClickPickResult) {
269
+ if (firstClickPickResult && firstClickPickResult.worldPos) {
270
270
 
271
271
  cameraControl.fire("picked", firstClickPickResult, true);
272
272