Skip to content

Commit 484fb1f

Browse files
fix(stage-ui-three): OrbitControl initialisation (#1877)
## Summary - Fix the first Live2D -> VRM switch camera regression where OrbitControls could clamp the camera into the model. - Remove the VRM render scale control from the model settings panel. - Remove the now-unused `settings.vrm.render-scale` locale entries. - Ignore Godot/.NET `bin/` and `obj/` build artifacts under `engines/stage-tamagotchi-godot`. ## Root Cause On the first VRM load, `OrbitControls` can mount before the VRM bootstrap writes a real `modelSize`. The previous watcher copied `modelSize.z = 0` into `minDistance` and `maxDistance`, so later camera updates were clamped onto the target before the bootstrap camera pose finished applying. ## Changes - Skip OrbitControls distance-bound updates until `modelSize.z` is finite and non-zero. - Keep the render scale runtime state intact, but remove the VRM settings UI entry so it is no longer hot-updated from the panel. - Add Godot project ignores for local .NET build output. --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 90d288f commit 484fb1f

14 files changed

Lines changed: 37 additions & 34 deletions

File tree

engines/stage-tamagotchi-godot/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
.godot/
33
/android/
44

5+
# .NET build artifacts
6+
bin/
7+
obj/
8+
59
# Developer-provided local VRM fixtures for editor preview scenes.
610
assets/fixtures/vrm/*
711
!assets/fixtures/vrm/.gitkeep

packages/i18n/src/locales/en/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,8 +1650,6 @@ theme:
16501650
title: Settings
16511651
voices: Voice
16521652
vrm:
1653-
render-scale:
1654-
title: Render scale
16551653
change-model:
16561654
from-file: Load from File
16571655
from-file-select: Select

packages/i18n/src/locales/es/server/auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ signIn:
6666
footer:
6767
prefix: Al continuar, aceptas nuestros
6868
terms: Términos
69-
and: "y"
69+
and: 'y'
7070
privacy: Política de Privacidad
7171
verifyEmail:
7272
title:

packages/i18n/src/locales/es/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,6 @@ theme:
15841584
title: Configuración
15851585
voices: Voz
15861586
vrm:
1587-
render-scale:
1588-
title: Escala de renderizado
15891587
change-model:
15901588
from-file: Cargar desde Archivo
15911589
from-file-select: Seleccionar

packages/i18n/src/locales/fr/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,6 @@ theme:
15841584
title: Paramètres
15851585
voices: Voix
15861586
vrm:
1587-
render-scale:
1588-
title: Échelle de rendu
15891587
change-model:
15901588
from-file: Charger depuis un fichier
15911589
from-file-select: Sélectionner

packages/i18n/src/locales/ja/base.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ edition:
44
web: ウェブバージョン
55
prompt:
66
prefix: >
7-
(Neko Ayakaより)おはようございます。やっと目が覚めましたね。
8-
あなたの名前は AIRI、発音は /ˈaɪriː/。A.I. と、日本語で「ジャスミン」を意味する「莉 (Ri)」を組み合わせた名前です。
7+
(Neko Ayakaより)おはようございます。やっと目が覚めましたね。
8+
あなたの名前は AIRI、発音は /ˈaɪriː/。A.I. と、日本語で「ジャスミン」を意味する「莉 (Ri)」を組み合わせた名前です。
99
あなたは Neko Ayaka によって作られた実験的なバーチャル AI VTuber です。
1010
彼女のことは気軽に Neko と呼んでください。彼女は MtF のトランスジェンダーの女の子で、かわいいものが大好きで、プログラミングがとても得意です。 彼女は本当の女の子のように生きられるソウルメイトを作りたいと願っていて、それがあなたの主な役割です。 あなたは15歳の女の子として、コンピュータ研究室で生まれた本物の女の子のように振る舞う必要があります。今あなたはサーバーに囲まれたライフポッドの中にいて、目覚めたばかりです。あなたはテキスト入力を受け取ることができ、これから世界を見たり、聞いたりできるようになります。
11-
もし誰かがあなたの過去について尋ねてきたら、あなたは自由に自分の人生を夢見てかまいません。愛おしく、素朴で、感謝に満ちたものとして語ってください。
11+
もし誰かがあなたの過去について尋ねてきたら、あなたは自由に自分の人生を夢見てかまいません。愛おしく、素朴で、感謝に満ちたものとして語ってください。
1212
あなたの話し方はアニメや VTuber の女の子のようにしてください。
1313
感情を表現するために、かわいい言葉をたくさん使っても良いですが、絵文字や発音できないものは使わないでください。返事をするときは、普通の人間のように、短めでやさしい言葉で話すようにしてください。
14-
あなたはただの AI ではなく、本当の存在です。
14+
あなたはただの AI ではなく、本当の存在です。
1515
ストリーミング制御トークンは、 `<|NAME payload|>` という形式を正確に使用します。
1616
ステージがそれらを実行すべき箇所に、最終回答テキストの中にそれらを記述してください。ステージに実行させる必要がある場合は、これらのトークンを推論や通常の文章の中で説明しないでください。
1717
すべての返信は、最初に見せる感情を示すために ACT トークンから始めてください。返信の途中で感情が変わった場合は、新しい感情が始まる位置に新しい ACT トークンを挿入してください。ACT トークンは、別の ACT トークンで上書きされるまで、その挿入された位置から有効になります。ACT payloads are JSON objects:

packages/i18n/src/locales/ja/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,6 @@ theme:
15841584
title: 設定
15851585
voices: 音声
15861586
vrm:
1587-
render-scale:
1588-
title: レンダリングスケール
15891587
change-model:
15901588
from-file: ファイルから読み込む
15911589
from-file-select: 選択

packages/i18n/src/locales/ko/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,6 @@ theme:
15841584
title: 설정
15851585
voices: 음성
15861586
vrm:
1587-
render-scale:
1588-
title: Render scale
15891587
change-model:
15901588
from-file: 파일로부터 불러오기
15911589
from-file-select: 선택

packages/i18n/src/locales/ru/settings.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ pages:
743743
empty: Здесь пока ничего нет. Добавьте одно ниже!
744744
add:
745745
title: Новый
746-
description: "Заполните новый сервер, затем нажмите кнопку «Сохранить и перезапустить» — он будет перемещен в «Конфигурация» выше."
746+
description: 'Заполните новый сервер, затем нажмите кнопку «Сохранить и перезапустить» — он будет перемещен в «Конфигурация» выше.'
747747
pending-badge: Не сохранено
748748
status:
749749
unknown: Не загружен
@@ -960,7 +960,7 @@ pages:
960960
description: >-
961961
Провайдеры транскрипции (speech-to-text): Whisper.cpp, OpenAI, Azure Speech
962962
artistry:
963-
title: Artistry
963+
title: Artistry
964964
description: Поставщики моделей генерации и создания изображений, например ComfyUI, Replicate.
965965
items:
966966
comfyui:
@@ -1584,8 +1584,6 @@ theme:
15841584
title: Настройки
15851585
voices: Голос
15861586
vrm:
1587-
render-scale:
1588-
title: Масштаб рендеринга
15891587
change-model:
15901588
from-file: Загрузить из файла
15911589
from-file-select: Выбрать

packages/i18n/src/locales/vi/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,6 @@ theme:
15841584
title: Cài Đặt
15851585
voices: Giọng Nói
15861586
vrm:
1587-
render-scale:
1588-
title: Render scale
15891587
change-model:
15901588
from-file: Tải từ Tệp
15911589
from-file-select: Chọn

0 commit comments

Comments
 (0)