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

code after every frame runs too often? #12

Open
robbertmijn opened this issue Nov 23, 2022 · 0 comments
Open

code after every frame runs too often? #12

robbertmijn opened this issue Nov 23, 2022 · 0 comments

Comments

@robbertmijn
Copy link

When setting "Call custom Python code" to "after every frame" and then having it run

if frame % 25 == 0:
    print(frame)

I'm expecting it to print 0, 25, 50, 75, etc (every second or so).

However, it's printing: 0, 0, 0, 0, 0, 25, 25, 25, 25, 50, 50, 50, 50, etc

Each second it bursts 4 or 5 of these, making me think it runs this line 4-5 times during each frame, instead of after each frame. Is this a feature or a bug?

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

1 participant