Skip to content

Frame Graph LIMITER gets stuck when fps_limit = 0 #3718

@PlatinMTA

Description

@PlatinMTA

Describe the bug

So when then FPS limit is 0, the Limiter is not drawn on /showframegraph which is good, once you change the limit to any other value than 0 it will start rendering, thats also good. The issue starts when you go back to setting the limit to 0 (so unlimited), the limiter will still render but no more values are added so it gets stuck.

https://youtu.be/f4LYB1mZA10

Steps to reproduce

(Previously have fps_limit set to 0)

  1. /showframegraph
  2. /run setFPSLimit(144)
  3. /run setFPSLimit(0)
  4. profit

Version

Any version

Additional context

This is such a minor bug its not even worth to fix it like it should be fixed (the limiter graph should keep moving with time until it dissapears). I think the best fix for this would be to just delete all the information of limiter so it stops rendering entirely.

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions