@xeokit/xeokit-sdk 2.4.2-beta-11 → 2.4.2-beta-12
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/dist/xeokit-sdk.cjs.js +5 -4
- package/dist/xeokit-sdk.es.js +5 -4
- package/dist/xeokit-sdk.es5.js +2 -2
- package/dist/xeokit-sdk.min.cjs.js +1 -1
- package/dist/xeokit-sdk.min.es.js +1 -1
- package/dist/xeokit-sdk.min.es5.js +1 -1
- package/package.json +1 -1
- package/src/viewer/scene/webgl/Renderer.js +4 -2
package/package.json
CHANGED
|
@@ -1517,6 +1517,8 @@ const Renderer = function (scene, options) {
|
|
|
1517
1517
|
snappedCanvasPos = scene.camera.projectWorldPos(snappedWorldPos);
|
|
1518
1518
|
}
|
|
1519
1519
|
|
|
1520
|
+
const snappedEntity = (snappedPickable && snappedPickable.delegatePickedEntity) ? snappedPickable.delegatePickedEntity() : snappedPickable;
|
|
1521
|
+
|
|
1520
1522
|
return {
|
|
1521
1523
|
snapType,
|
|
1522
1524
|
snappedToVertex: snapType === "vertex",
|
|
@@ -1526,8 +1528,8 @@ const Renderer = function (scene, options) {
|
|
|
1526
1528
|
snappedWorldPos,
|
|
1527
1529
|
snappedWorldNormal,
|
|
1528
1530
|
snappedCanvasPos,
|
|
1529
|
-
snappedEntity
|
|
1530
|
-
entity:
|
|
1531
|
+
snappedEntity,
|
|
1532
|
+
entity: snappedEntity
|
|
1531
1533
|
};
|
|
1532
1534
|
};
|
|
1533
1535
|
|