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

Errors regarding viewport width/height in the camera binding accumulate with each update #27

Closed
AchimStremplat opened this issue May 3, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@AchimStremplat
Copy link

If the viewport width in a camera is set via link to 0, every LogicEngine::update will add another error message for the camera in LogicEngine::getErrors as long as the error persists.

To reproduce: in a new scene in RaCo, add a script with an integer property and create a link from that property to PerspectiveCamera.viewportWidth. Then make sure the property is 0. Create a second script and change its properties. With each change of the second scripts properties, a new entry for the invalid viewport width appears in LogicEngine::getErrors.

@violinyanev
Copy link
Member

Hi @AchimStremplat ! Thanks for the report, the bug is known and fixed, I was hoping it won't surface until the next release. Will do a patchfix 0.6.1 release!

@violinyanev violinyanev added the bug Something isn't working label May 4, 2021
@violinyanev violinyanev added this to To do in Infinite Kanban via automation May 4, 2021
@violinyanev
Copy link
Member

Fixed in v0.6.1

Infinite Kanban automation moved this from To do to Done May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants