mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Clarify that a Grabber member function toggles both picks and pointers
This commit is contained in:
parent
abac1787a6
commit
d48c8d897c
1 changed files with 2 additions and 2 deletions
|
@ -221,7 +221,7 @@ function Grabber() {
|
|||
});
|
||||
}
|
||||
|
||||
Grabber.prototype.setPicksEnabled = function(enabled) {
|
||||
Grabber.prototype.setPicksAndPointersEnabled = function(enabled) {
|
||||
if (enabled) {
|
||||
Picks.enablePick(this.mouseRayOverlays);
|
||||
Pointers.enablePointer(this.mouseRayEntities);
|
||||
|
@ -232,7 +232,7 @@ Grabber.prototype.setPicksEnabled = function(enabled) {
|
|||
}
|
||||
|
||||
Grabber.prototype.displayModeChanged = function(isHMDMode) {
|
||||
this.setPicksEnabled(!isHMDMode);
|
||||
this.setPicksAndPointersEnabled(!isHMDMode);
|
||||
}
|
||||
|
||||
Grabber.prototype.computeNewGrabPlane = function() {
|
||||
|
|
Loading…
Reference in a new issue