Skip to content

Commit

Permalink
Merge pull request #1566 from xeokit/XCD-87
Browse files Browse the repository at this point in the history
[FIX] Camera incorrectly zooms to end of measurement after completion
  • Loading branch information
xeolabs authored Jul 2, 2024
2 parents ce925b9 + 304a2d4 commit 25fab52
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ class MousePickHandler {

this._timeout = setTimeout(() => {

if (firstClickPickResult) {
if (firstClickPickResult && firstClickPickResult.worldPos) {

cameraControl.fire("picked", firstClickPickResult, true);

Expand Down

0 comments on commit 25fab52

Please sign in to comment.