@mml-io/mml-web-client 0.0.0-experimental-66f808a-20250127 → 0.0.0-experimental-61dcc35-20250129
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +6 -13
- package/build/index.js.map +2 -2
- package/package.json +5 -5
package/build/index.js
CHANGED
|
@@ -4838,9 +4838,6 @@
|
|
|
4838
4838
|
link(linkProps, abortSignal, windowCallback) {
|
|
4839
4839
|
scene22.link(linkProps, abortSignal, windowCallback);
|
|
4840
4840
|
},
|
|
4841
|
-
getRootContainer: () => {
|
|
4842
|
-
throw new Error("Wrapped scenes do not have a root container");
|
|
4843
|
-
},
|
|
4844
4841
|
getUserPositionAndRotation: () => {
|
|
4845
4842
|
return scene22.getUserPositionAndRotation();
|
|
4846
4843
|
},
|
|
@@ -8034,12 +8031,6 @@
|
|
|
8034
8031
|
}
|
|
8035
8032
|
return this.graphicsAdapter;
|
|
8036
8033
|
}
|
|
8037
|
-
getRootContainer() {
|
|
8038
|
-
if (!this.graphicsAdapter) {
|
|
8039
|
-
throw new Error("MMLScene not initialized with a graphics adapter");
|
|
8040
|
-
}
|
|
8041
|
-
return this.graphicsAdapter.getRootContainer();
|
|
8042
|
-
}
|
|
8043
8034
|
getUserPositionAndRotation() {
|
|
8044
8035
|
if (!this.graphicsAdapter) {
|
|
8045
8036
|
throw new Error("MMLScene not initialized with a graphics adapter");
|
|
@@ -8627,7 +8618,7 @@
|
|
|
8627
8618
|
} else {
|
|
8628
8619
|
const scene22 = this.mElement.getScene();
|
|
8629
8620
|
this.currentParent = scene22;
|
|
8630
|
-
scene22.getRootContainer().append(this.container);
|
|
8621
|
+
scene22.getGraphicsAdapter().getRootContainer().append(this.container);
|
|
8631
8622
|
this.indentLevel = 0;
|
|
8632
8623
|
}
|
|
8633
8624
|
const firstLine = document.createElement("div");
|
|
@@ -8743,7 +8734,9 @@
|
|
|
8743
8734
|
this.currentParent.childElementHolder.removeChild(this.container);
|
|
8744
8735
|
this.currentParent = null;
|
|
8745
8736
|
} else {
|
|
8746
|
-
this.currentParent.getRootContainer().removeChild(
|
|
8737
|
+
this.currentParent.getGraphicsAdapter().getRootContainer().removeChild(
|
|
8738
|
+
this.container
|
|
8739
|
+
);
|
|
8747
8740
|
this.currentParent = null;
|
|
8748
8741
|
}
|
|
8749
8742
|
}
|
|
@@ -64810,7 +64803,7 @@ ${DracoWorker.toString()}
|
|
|
64810
64803
|
return;
|
|
64811
64804
|
}
|
|
64812
64805
|
const scene3 = this.element.getScene();
|
|
64813
|
-
this.currentParentContainer = scene3.getRootContainer();
|
|
64806
|
+
this.currentParentContainer = scene3.getGraphicsAdapter().getRootContainer();
|
|
64814
64807
|
this.currentParentContainer.addChild(this.container);
|
|
64815
64808
|
}
|
|
64816
64809
|
getContainer() {
|
|
@@ -97740,7 +97733,7 @@ void main() {
|
|
|
97740
97733
|
return;
|
|
97741
97734
|
}
|
|
97742
97735
|
const scene3 = this.element.getScene();
|
|
97743
|
-
this.currentParentContainer = scene3.getRootContainer();
|
|
97736
|
+
this.currentParentContainer = scene3.getGraphicsAdapter().getRootContainer();
|
|
97744
97737
|
this.currentParentContainer.add(this.container);
|
|
97745
97738
|
}
|
|
97746
97739
|
getContainer() {
|