mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 09:59:20 +02:00
shorter timeout
This commit is contained in:
parent
0d3add8596
commit
60bd345e57
1 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ function createOrUpdateLine(event) {
|
||||||
Entities.editEntity(lineEntityID, {
|
Entities.editEntity(lineEntityID, {
|
||||||
position: nearLinePoint(intersection.intersection),
|
position: nearLinePoint(intersection.intersection),
|
||||||
dimensions: dim,
|
dimensions: dim,
|
||||||
lifetime: 60 + props.lifespan // renew lifetime
|
lifetime: 15 + props.lifespan // renew lifetime
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
lineIsRezzed = true;
|
lineIsRezzed = true;
|
||||||
|
@ -41,7 +41,7 @@ function createOrUpdateLine(event) {
|
||||||
position: nearLinePoint(intersection.intersection),
|
position: nearLinePoint(intersection.intersection),
|
||||||
dimensions: dim,
|
dimensions: dim,
|
||||||
color: { red: 255, green: 255, blue: 255 },
|
color: { red: 255, green: 255, blue: 255 },
|
||||||
lifetime: 60 // if someone crashes while pointing, don't leave the line there forever.
|
lifetime: 15 // if someone crashes while pointing, don't leave the line there forever.
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue