Copy and paste documentation (#639)

This commit is contained in:
Miles Ryan authored and GitHub committed 2024-07-17 15:27:35 -04:00
1 parent a9084b9ed8
commit 5b22bf6928
3 files changed
+23

No files matched your search

@@ -243,6 +243,7 @@ export class SceneManager implements SceneManagerAPI {
}
public async copy() {
// TODO MAKE BETTER FIX: Temp disables copy and paste of characters.
const object = this.mouse_controls.selected?.at(0)
if(object !== undefined ){
if(this.is_character(object.uuid) === false)
+21
View File
@@ -0,0 +1,21 @@
# STORYTELLER STUDIO ENGINE DOCS
This is the official documentation for the storyteller studio engine.
[Back](../README.md)
## Copy & Paste
## Documentation
- Copy paste is done in the `SceneManager` and `MouseControls` classes.
- In `SceneManager` the async `copy` function sets the copied object to whatever the `MouseControls` class has selected.
- In `SceneManager` the async `paste` function duplicates the threejs object and updates the outliner while coping the newly created object.
## Hacks
- Tempararly disabled copy and paste of characters because the UI on the timeline is not updateing properly.
## Roadmap
- Fix characters.
+1
View File
@@ -5,3 +5,4 @@ This is the official documentation for the storyteller studio engine.
## Documentation Links
[Skyboxes](./DOCS/SKYBOXES.md)
[Copy & Paste](./DOCS/COPYPASTE.md)