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

Avoid scene frame changing #55

Open
mrwonko opened this issue Apr 4, 2024 · 0 comments · May be fixed by #69
Open

Avoid scene frame changing #55

mrwonko opened this issue Apr 4, 2024 · 0 comments · May be fixed by #69

Comments

@mrwonko
Copy link
Owner

mrwonko commented Apr 4, 2024

You can also set the frame for the keyframe insert in the keyframe_insert function instead of switching the scene frame at all
whatever.keyframe_insert('location', frame=frameNum)

https://discord.com/channels/200934142278369281/1103343134160728144/1225537738212643041

SomaZ added a commit to SomaZ/Blender-Jedi-Academy-Tools that referenced this issue Aug 30, 2024
Besides skipping changing between object and pose mode to force matrix updates, we also set keyframes outside of the transform loop.

It also doesnt change the scene frame anymore (no measurable performance gains though) -> implements: mrwonko#55
SomaZ added a commit to SomaZ/Blender-Jedi-Academy-Tools that referenced this issue Sep 5, 2024
Besides skipping changing between object and pose mode to force matrix updates, we also set keyframes outside of the transform loop.

It also doesnt change the scene frame anymore (no measurable performance gains though) -> implements: mrwonko#55
@SomaZ SomaZ linked a pull request Sep 9, 2024 that will close this issue
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 a pull request may close this issue.

1 participant