Skip to content
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

Adding Entity Field Changes To History #282

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PythooonUser
Copy link
Contributor

Summary

Relates to #273.

Entity field changes are now persisted in history, therefore, can be undone.

@Interrupt
Copy link
Owner

Interrupt commented Oct 10, 2022

Taking the case of changing a light color for example, saving the whole level state when dragging through the color slider might be way too many updates since the property value could change every tick for many ticks. Not sure offhand a quick fix for that, might need to commit the change after the mouse is released.

@PythooonUser
Copy link
Contributor Author

Good point. Didn't think of that. Listening for that mouse down/up event could be the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants