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

Expose demoNeedsRender flag #99

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Expose demoNeedsRender flag #99

merged 1 commit into from
Jul 12, 2023

Conversation

sigvef
Copy link
Member

@sigvef sigvef commented Jun 30, 2023

Expose demoNeedsRender flag

This lets us rerender the demo from "userland", which is a requirement
for FlyControls.

@stianjensen
Copy link
Member

Needs rebase

This lets us rerender the demo from "userland", which is a requirement
for FlyControls.
@sigvef sigvef force-pushed the expose-demo-rendering-flag branch from 5ebbf97 to 876198c Compare July 12, 2023 21:19
@@ -588,7 +589,6 @@ export class Renin {
this.uiOldTime = this.uiTime;
this.uiTime = Date.now() / 1000;
this.uiDt += this.uiTime - this.uiOldTime;
let demoNeedsRender = false;
Copy link
Contributor

@trondkla trondkla Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the default value be false too? Since it was false as standard before.

Copy link
Contributor

@trondkla trondkla Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see it says = false at he bottom, so it seems like it will be correct :)

@trondkla trondkla merged commit fef1cdc into main Jul 12, 2023
@trondkla trondkla deleted the expose-demo-rendering-flag branch July 12, 2023 21:26
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 this pull request may close these issues.

3 participants