浏览代码

prevent collision with mouse pointer id

Raanan Weber 5 年之前
父节点
当前提交
bb1a9ac959
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/XR/features/WebXRControllerPointerSelection.ts

+ 1 - 1
src/XR/features/WebXRControllerPointerSelection.ts

@@ -78,7 +78,7 @@ export interface IWebXRControllerPointerSelectionOptions {
  * A module that will enable pointer selection for motion controllers of XR Input Sources
  */
 export class WebXRControllerPointerSelection extends WebXRAbstractFeature {
-    private static _idCounter = 0;
+    private static _idCounter = 200;
 
     private _attachController = (xrController: WebXRInputSource) => {
         if (this._controllers[xrController.uniqueId]) {