Update App.tsx to use store.executeCommand for animationClipName

This commit is contained in:
2026-04-01 00:14:38 +02:00
parent 80f396c1a5
commit 22e198347c

View File

@@ -3560,7 +3560,7 @@ export function App({ store, initialStatusMessage }: AppProps) {
value={selectedModelInstance.animationClipName ?? ""}
onChange={(e) => {
const clipName = e.target.value || undefined;
store.dispatch(
store.executeCommand(
createUpsertModelInstanceCommand({
modelInstance: { ...selectedModelInstance, animationClipName: clipName },
label: "Set animation clip"