-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undo / Redo feature #2
Comments
You can sponsor $500 to vincentfretin fully or partially to work on this feature. Find other work you can sponsor at https://github.com/c-frame/sponsorship |
This feature could then be backported to aframe-inspector if the changes are not too heavy and @dmarcos agrees to review it and merge there. |
Note: this could be implemented step by step, not all at once, to simply allow undo of certain actions first and then add others later |
Yeah. We can do it in the inspector if can be implemented simply and reliably |
Cool. Thanks for the elaboration. It doesn't look too complicated? |
@dmarcos see 3DStreet/3dstreet#676 that implements undo position/rotation/scale and any change in a component. Currently mixin is not handled. |
Yeah thanks! Question. Would it be possible to have an undo / redo component independent of the inspector? That might be useful for the community |
You would still need some changes in the inspector to replace |
Implement an undo / redo feature.
https://threejs.org/editor/ has an undo/redo feature.
Main implementation in this file https://github.com/mrdoob/three.js/blob/master/editor/js/History.js
each action is a command
https://github.com/mrdoob/three.js/tree/master/editor/js/commands
We probably need to hook our events componentadd, componentremove, entityupdate, entityidchange, objectremove, entitycreated, entityclone, etc with a system like that.
Initially discussed in aframevr#21
The text was updated successfully, but these errors were encountered: