Fixed problem with label editor.
This commit is contained in:
parent
ceaf6c4fb5
commit
c383b57cb4
2046
index.html
2046
index.html
File diff suppressed because it is too large
Load Diff
2032
public/newRelic.js
Normal file
2032
public/newRelic.js
Normal file
File diff suppressed because it is too large
Load Diff
@ -64,7 +64,7 @@ export class InputTextView {
|
|||||||
textInput.value = this.text;
|
textInput.value = this.text;
|
||||||
if (this.xr?.baseExperience?.sessionManager?.inXRSession) {
|
if (this.xr?.baseExperience?.sessionManager?.inXRSession) {
|
||||||
this.xr.input.controllers.forEach((controller) => {
|
this.xr.input.controllers.forEach((controller) => {
|
||||||
controller.grip.setEnabled(false);
|
controller.motionController.rootMesh.setEnabled(false);
|
||||||
controller.pointer.setEnabled(false);
|
controller.pointer.setEnabled(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -82,7 +82,7 @@ export class InputTextView {
|
|||||||
this.onTextObservable.notifyObservers({text: textInput.value});
|
this.onTextObservable.notifyObservers({text: textInput.value});
|
||||||
if (this.xr?.baseExperience?.sessionManager?.inXRSession) {
|
if (this.xr?.baseExperience?.sessionManager?.inXRSession) {
|
||||||
this.xr.input.controllers.forEach((controller) => {
|
this.xr.input.controllers.forEach((controller) => {
|
||||||
controller.grip.setEnabled(true);
|
controller.motionController.rootMesh.setEnabled(true);
|
||||||
controller.pointer.setEnabled(true);
|
controller.pointer.setEnabled(true);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user