mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-17 00:13:17 +00:00
5f62a4024b
This PR adds a `StudioMode` resource to toggle editing capabilities, and configures the frontend application to read the desired mode from a URL parameter. For now, setting the app to `StudioMode::Viewer` with `<app-url>?mode=viewer` hides the Transform Toolbar and disables most of the interactive features of the app, but otherwise exhibits the same behavior as `StudioMode::Editor` / `<app-url>?mode=studio`. In the future, the "Viewer" and "Editor" modes will receive different initialization inputs to better serve the needs of their use cases. In particular: * The "Viewer" mode will accept a BVH animation handle, which should be played in a loop on a simple mannequin asset, allowing a user to preview a given animation before using it within the full studio workflow. * The "Editor" mode will accept a full Bevy scene handle which can be edited and saved to the user's account. These scenes will serve as the basis for the generative-AI workflows Storyteller Studio is ultimately seeking to facilitate. * It will likely be useful for "Editor" mode to alternatively accept only a BVH animation handle, which would be used to initialize a new scene for editing similar to "Viewer" mode, but with editing capabilities enabled.
42 lines
513 B
Plaintext
42 lines
513 B
Plaintext
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
|
|
# compiled output
|
|
dist
|
|
tmp
|
|
/out-tsc
|
|
|
|
# dependencies
|
|
node_modules
|
|
|
|
# IDEs and editors
|
|
/.idea
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
|
|
# IDE - VSCode
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
|
|
# misc
|
|
/.sass-cache
|
|
/.nx
|
|
/connect.lock
|
|
/coverage
|
|
/libpeerconnection.log
|
|
npm-debug.log
|
|
yarn-error.log
|
|
testem.log
|
|
/typings
|
|
|
|
# System Files
|
|
.DS_Store
|
|
Thumbs.db
|
|
/target
|