mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
fix home button
This commit is contained in:
parent
c013813161
commit
cdac011472
1 changed files with 1 additions and 3 deletions
|
@ -726,9 +726,7 @@ function calculateStylusTargetFromOverlay(stylusTip, overlayID) {
|
|||
var invRot = Quat.inverse(overlayRotation);
|
||||
var localPos = Vec3.multiplyQbyV(invRot, Vec3.subtract(position, overlayPosition));
|
||||
var dpi = Overlays.getProperty(overlayID, "dpi");
|
||||
if (dpi === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
var dimensions;
|
||||
if (dpi) {
|
||||
// Calculate physical dimensions for web3d overlay from resolution and dpi; "dimensions" property is used as a scale.
|
||||
|
|
Loading…
Reference in a new issue