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

[UndoRedo.lua] Any way to make seek more precise? #135

Open
KonoVitoDa opened this issue Feb 5, 2024 · 5 comments
Open

[UndoRedo.lua] Any way to make seek more precise? #135

KonoVitoDa opened this issue Feb 5, 2024 · 5 comments

Comments

@KonoVitoDa
Copy link

E.g.: If I'm at a keyframe, seek 20 exact and Undo, the frame won't be the original one, there's a imprecision of several centiseconds, wheter forward or backward. Is there any way to make Undo/Redo's precision to be exact, so that I go back to the exact original frame I was before?

@Eisa01
Copy link
Owner

Eisa01 commented Feb 5, 2024

Just remove this code from the script it should be exact. Let me know the results.

I'll provide it as an option also to change the milliseconds

if (pause == true) then
		seconds = seconds
	else
		seconds = seconds - 0.5
	end

@KonoVitoDa
Copy link
Author

KonoVitoDa commented Feb 5, 2024

Just remove this code from the script it should be exact. Let me know the results.

I removed, but it didn't change anything, the Undo behavior remains the same. :(

@Eisa01
Copy link
Owner

Eisa01 commented Feb 6, 2024

I'll see if I can optimise it further, no promises though

@KonoVitoDa
Copy link
Author

Thanks and please! 🙏

@KonoVitoDa
Copy link
Author

One more question about SimpleHistory: is it possible to show files extensions in the list?

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

No branches or pull requests

2 participants