@mml-io/3d-web-client-core 0.0.0-experimental-2a37862-20240710 → 0.0.0-experimental-c03b95e-20240717
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 +8 -5
- package/build/index.js.map +2 -2
- package/package.json +5 -5
package/build/index.js
CHANGED
@@ -1481,6 +1481,9 @@ var Character = class extends Group {
|
|
1481
1481
|
}
|
1482
1482
|
async load() {
|
1483
1483
|
const previousModel = this.model;
|
1484
|
+
if (previousModel && previousModel.mesh) {
|
1485
|
+
this.remove(previousModel.mesh);
|
1486
|
+
}
|
1484
1487
|
this.model = new CharacterModel({
|
1485
1488
|
characterDescription: this.config.characterDescription,
|
1486
1489
|
animationConfig: this.config.animationConfig,
|
@@ -1490,9 +1493,6 @@ var Character = class extends Group {
|
|
1490
1493
|
isLocal: this.config.isLocal
|
1491
1494
|
});
|
1492
1495
|
await this.model.init();
|
1493
|
-
if (previousModel && previousModel.mesh) {
|
1494
|
-
this.remove(previousModel.mesh);
|
1495
|
-
}
|
1496
1496
|
this.add(this.model.mesh);
|
1497
1497
|
if (this.speakingIndicator === null) {
|
1498
1498
|
this.speakingIndicator = new CharacterSpeakingIndicator(this.config.composer.postPostScene);
|
@@ -2534,8 +2534,11 @@ var MMLCompositionScene = class {
|
|
2534
2534
|
removeChatProbe: (chatProbe) => {
|
2535
2535
|
this.chatProbes.delete(chatProbe);
|
2536
2536
|
},
|
2537
|
-
prompt: (promptProps, callback) => {
|
2538
|
-
this.promptManager.prompt(promptProps, callback);
|
2537
|
+
prompt: (promptProps, abortSignal, callback) => {
|
2538
|
+
this.promptManager.prompt(promptProps, abortSignal, callback);
|
2539
|
+
},
|
2540
|
+
link: (linkProps, abortSignal, windowCallback) => {
|
2541
|
+
this.promptManager.link(linkProps, abortSignal, windowCallback);
|
2539
2542
|
},
|
2540
2543
|
getLoadingProgressManager: () => {
|
2541
2544
|
return this.loadingProgressManager;
|